pub struct StdDecoder { /* private fields */ }
Expand description
A struct for decoding bytes.
This is similar to Decoder
but uses std
to allocate a buffer.
This is not part of the MiniTxRx
struct itself because we do not want to
require access to resources when decoding bytes.
Implementations§
Auto Trait Implementations§
impl Freeze for StdDecoder
impl RefUnwindSafe for StdDecoder
impl Send for StdDecoder
impl Sync for StdDecoder
impl Unpin for StdDecoder
impl UnwindSafe for StdDecoder
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