pub struct FixedLengthDetector<const N: usize, F>(pub F);Expand description
FixedLengthDetector detects a fixed length of bytes from the input stream.
Tuple Fields§
§0: FTrait Implementations§
Auto Trait Implementations§
impl<const N: usize, F> Freeze for FixedLengthDetector<N, F>where
F: Freeze,
impl<const N: usize, F> RefUnwindSafe for FixedLengthDetector<N, F>where
F: RefUnwindSafe,
impl<const N: usize, F> Send for FixedLengthDetector<N, F>where
F: Send,
impl<const N: usize, F> Sync for FixedLengthDetector<N, F>where
F: Sync,
impl<const N: usize, F> Unpin for FixedLengthDetector<N, F>where
F: Unpin,
impl<const N: usize, F> UnwindSafe for FixedLengthDetector<N, F>where
F: 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