pub enum CaptureRetention {
Head,
Tail,
HeadAndTail,
}Expand description
Which portions of an oversized captured stream are retained.
Variants§
Head
Retain the beginning of the stream.
Tail
Retain the end of the stream.
HeadAndTail
Split the byte budget between the beginning and end of the stream.
Trait Implementations§
Source§impl Clone for CaptureRetention
impl Clone for CaptureRetention
impl Copy for CaptureRetention
Source§impl Debug for CaptureRetention
impl Debug for CaptureRetention
impl Eq for CaptureRetention
Source§impl PartialEq for CaptureRetention
impl PartialEq for CaptureRetention
impl StructuralPartialEq for CaptureRetention
Auto Trait Implementations§
impl Freeze for CaptureRetention
impl RefUnwindSafe for CaptureRetention
impl Send for CaptureRetention
impl Sync for CaptureRetention
impl Unpin for CaptureRetention
impl UnsafeUnpin for CaptureRetention
impl UnwindSafe for CaptureRetention
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