pub struct RawBytes<'a, R>(_, _);Expand description
Helper type which reads remaining packet as is
Implementations
Trait Implementations
sourceimpl<R> PartialEq<RawBytes<'_, R>> for RawBytes<'_, R>
impl<R> PartialEq<RawBytes<'_, R>> for RawBytes<'_, R>
impl<R> Copy for RawBytes<'_, R>
impl<R> Eq for RawBytes<'_, R>
Auto Trait Implementations
impl<'a, R> RefUnwindSafe for RawBytes<'a, R>where
R: RefUnwindSafe,
impl<'a, R> Send for RawBytes<'a, R>where
R: Send,
impl<'a, R> Sync for RawBytes<'a, R>where
R: Sync,
impl<'a, R> Unpin for RawBytes<'a, R>where
R: Unpin,
impl<'a, R> UnwindSafe for RawBytes<'a, R>where
R: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more