pub struct RawBytes<'a, R>(/* private fields */);Expand description
Helper type which reads remaining packet as is.
Implementations§
Trait Implementations§
source§impl<R> PartialEq for RawBytes<'_, R>
impl<R> PartialEq 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§
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