pub struct PackedWriter<W: Write>(/* private fields */);
Expand description
The binary encoding Preserves writer.
Implementations§
source§impl PackedWriter<&mut Vec<u8>>
impl PackedWriter<&mut Vec<u8>>
Trait Implementations§
source§impl<W: Write> Writer for PackedWriter<W>
impl<W: Write> Writer for PackedWriter<W>
source§fn write<N: NestedValue, Enc: DomainEncode<N::Embedded>>(
&mut self,
enc: &mut Enc,
v: &N
) -> Result<()>
fn write<N: NestedValue, Enc: DomainEncode<N::Embedded>>( &mut self, enc: &mut Enc, v: &N ) -> Result<()>
source§fn write_value<N: NestedValue, Enc: DomainEncode<N::Embedded>>(
&mut self,
enc: &mut Enc,
v: &Value<N>
) -> Result<()>
fn write_value<N: NestedValue, Enc: DomainEncode<N::Embedded>>( &mut self, enc: &mut Enc, v: &Value<N> ) -> Result<()>
Auto Trait Implementations§
impl<W> Freeze for PackedWriter<W>where
W: Freeze,
impl<W> RefUnwindSafe for PackedWriter<W>where
W: RefUnwindSafe,
impl<W> Send for PackedWriter<W>where
W: Send,
impl<W> Sync for PackedWriter<W>where
W: Sync,
impl<W> Unpin for PackedWriter<W>where
W: Unpin,
impl<W> UnwindSafe for PackedWriter<W>where
W: UnwindSafe,
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