pub enum Output {
Text(String),
Bytes(Vec<u8>),
}Expand description
The output of a conversion: text from a text writer, bytes from a byte-shaped writer.
Variants§
Text(String)
Text produced by a text-shaped writer.
Bytes(Vec<u8>)
Bytes produced by a byte-shaped writer.
Trait Implementations§
impl Eq for Output
impl StructuralPartialEq for Output
Auto Trait Implementations§
impl Freeze for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnsafeUnpin for Output
impl UnwindSafe for Output
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