pub struct MutPacket<'a>(/* private fields */);
Expand description
A newtype around &mut [u8]
to guarantee that accessing length on the
underlying buffer is checked each time.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for MutPacket<'a>
impl<'a> RefUnwindSafe for MutPacket<'a>
impl<'a> Send for MutPacket<'a>
impl<'a> Sync for MutPacket<'a>
impl<'a> Unpin for MutPacket<'a>
impl<'a> !UnwindSafe for MutPacket<'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