pub struct Bytes<'d> { /* private fields */ }Expand description
Contiguous bytes derived from one exact request.
Projection cannot extend the request owner’s lifetime.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'d> !RefUnwindSafe for Bytes<'d>
impl<'d> !Send for Bytes<'d>
impl<'d> !Sync for Bytes<'d>
impl<'d> !UnwindSafe for Bytes<'d>
impl<'d> Forget for Bytes<'d>
impl<'d> Freeze for Bytes<'d>
impl<'d> Unpin for Bytes<'d>
impl<'d> UnsafeUnpin for Bytes<'d>
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