pub enum ProcessingSuccess {
Passthrough,
WroteToSink,
}
Expand description
The success outcome of Uts46::process
Variants§
Passthrough
There were no errors. The caller must consider the input to be the output.
This asserts that the input can be safely passed to core::str::from_utf8_unchecked
.
(Distinct from WroteToSink
in order to allow Cow
behavior to be implemented on top of
Uts46::process
.)
WroteToSink
There were no errors. The caller must consider what was written to the sink to be the output.
(Distinct from Passthrough
in order to allow Cow
behavior to be implemented on top of
Uts46::process
.)
Trait Implementations§
Source§impl Clone for ProcessingSuccess
impl Clone for ProcessingSuccess
Source§fn clone(&self) -> ProcessingSuccess
fn clone(&self) -> ProcessingSuccess
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ProcessingSuccess
impl Debug for ProcessingSuccess
Source§impl PartialEq for ProcessingSuccess
impl PartialEq for ProcessingSuccess
impl Copy for ProcessingSuccess
impl Eq for ProcessingSuccess
impl StructuralPartialEq for ProcessingSuccess
Auto Trait Implementations§
impl Freeze for ProcessingSuccess
impl RefUnwindSafe for ProcessingSuccess
impl Send for ProcessingSuccess
impl Sync for ProcessingSuccess
impl Unpin for ProcessingSuccess
impl UnwindSafe for ProcessingSuccess
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more