pub struct Remaining;Expand description
A to represent a length type with zero length.
This type is useful for encoding/decoding types that have no length prefix, and should either:
- decode as the rest of the buffer.
- encode with no length prefix
Trait Implementations§
source§impl Encoder<usize> for Remaining
impl Encoder<usize> for Remaining
source§impl RawDecoder<usize> for Remaining
impl RawDecoder<usize> for Remaining
impl Copy for Remaining
Auto Trait Implementations§
impl RefUnwindSafe for Remaining
impl Send for Remaining
impl Sync for Remaining
impl Unpin for Remaining
impl UnwindSafe for Remaining
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