pub struct WholeCapture { /* private fields */ }Expand description
A capture that keeps the first bytes of a stream, from
Capture::whole.
Implementations§
Trait Implementations§
Source§impl Clone for WholeCapture
impl Clone for WholeCapture
Source§impl Debug for WholeCapture
impl Debug for WholeCapture
Source§impl From<WholeCapture> for Capture
impl From<WholeCapture> for Capture
Source§fn from(whole: WholeCapture) -> Self
fn from(whole: WholeCapture) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for WholeCapture
impl Freeze for WholeCapture
impl Move for WholeCapture
impl RefUnwindSafe for WholeCapture
impl Send for WholeCapture
impl Sync for WholeCapture
impl Unpin for WholeCapture
impl UnsafeUnpin for WholeCapture
impl UnwindSafe for WholeCapture
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