pub struct Bytes<'data> { /* private fields */ }Expand description
Contiguous transfer input whose progress is bound to this exact slice.
Implementations§
Auto Trait Implementations§
impl<'data> Forget for Bytes<'data>
impl<'data> Freeze for Bytes<'data>
impl<'data> RefUnwindSafe for Bytes<'data>
impl<'data> Send for Bytes<'data>
impl<'data> Sync for Bytes<'data>
impl<'data> Unpin for Bytes<'data>
impl<'data> UnsafeUnpin for Bytes<'data>
impl<'data> UnwindSafe for Bytes<'data>
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