pub struct NullBytes;Expand description
Null-terminated byte sequence.
deserialize() will error with InvalidData if there is no 0.
Trait Implementations§
Source§impl BytesRepr for NullBytes
impl BytesRepr for NullBytes
impl Copy for NullBytes
impl Eq for NullBytes
impl StructuralPartialEq for NullBytes
Auto Trait Implementations§
impl Freeze for NullBytes
impl RefUnwindSafe for NullBytes
impl Send for NullBytes
impl Sync for NullBytes
impl Unpin for NullBytes
impl UnwindSafe for NullBytes
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