pub struct PassThroughByteEncoder;Expand description
Implements ByteEncoder::serialize_bytes passing bytes through
Trait Implementations§
Source§impl ByteEncoder for PassThroughByteEncoder
impl ByteEncoder for PassThroughByteEncoder
fn serialize_bytes<'a, W: SerWrite>( ser: &'a mut Serializer<W, Self>, v: &[u8], ) -> Result<(), W::Error>
Auto Trait Implementations§
impl Freeze for PassThroughByteEncoder
impl RefUnwindSafe for PassThroughByteEncoder
impl Send for PassThroughByteEncoder
impl Sync for PassThroughByteEncoder
impl Unpin for PassThroughByteEncoder
impl UnsafeUnpin for PassThroughByteEncoder
impl UnwindSafe for PassThroughByteEncoder
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