pub struct TBytesWriterSliceBackend<'a> { /* private fields */ }Expand description
Backend for TBytesWriter which operates on mutable slices of bytes.
This is not a thread-safe implementation!
Implementations§
Source§impl<'a> TBytesWriterSliceBackend<'a>
impl<'a> TBytesWriterSliceBackend<'a>
Trait Implementations§
Source§impl<'a> Debug for TBytesWriterSliceBackend<'a>
impl<'a> Debug for TBytesWriterSliceBackend<'a>
Source§impl<'a> Serialize for TBytesWriterSliceBackend<'a>
impl<'a> Serialize for TBytesWriterSliceBackend<'a>
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl<'a> TBytesWriterBackend for TBytesWriterSliceBackend<'a>
impl<'a> TBytesWriterBackend for TBytesWriterSliceBackend<'a>
Source§fn write(&mut self, bytes: &[u8]) -> Result<usize, TBytesError>
fn write(&mut self, bytes: &[u8]) -> Result<usize, TBytesError>
Writes bytes into slice.
Returns number of written bytes or TBytesError.
Auto Trait Implementations§
impl<'a> !Freeze for TBytesWriterSliceBackend<'a>
impl<'a> !RefUnwindSafe for TBytesWriterSliceBackend<'a>
impl<'a> Send for TBytesWriterSliceBackend<'a>
impl<'a> !Sync for TBytesWriterSliceBackend<'a>
impl<'a> Unpin for TBytesWriterSliceBackend<'a>
impl<'a> !UnwindSafe for TBytesWriterSliceBackend<'a>
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