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
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Passthrough
: 0 bytesWroteToSink
: 0 bytes