pub struct Cleaver<B, E, St>{ /* private fields */ }Expand description
A Stream adapter that splits buffers from a source to a given, maximum
length.
This may be useful to limit the amount of time spent processing each Item
of a Splittable stream. This is enabled via the cleaver feature.
Implementations§
Trait Implementations§
Source§impl<B, E, St> Stream for Cleaver<B, E, St>
impl<B, E, St> Stream for Cleaver<B, E, St>
Auto Trait Implementations§
impl<B, E, St> Freeze for Cleaver<B, E, St>
impl<B, E, St> RefUnwindSafe for Cleaver<B, E, St>where
St: RefUnwindSafe,
B: RefUnwindSafe,
impl<B, E, St> Send for Cleaver<B, E, St>
impl<B, E, St> Sync for Cleaver<B, E, St>
impl<B, E, St> Unpin for Cleaver<B, E, St>where
St: Unpin,
impl<B, E, St> UnwindSafe for Cleaver<B, E, St>where
St: UnwindSafe,
B: 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