pub enum BatchStrategy {
Responsive,
Efficient,
}
Variants§
Responsive
React as soon as anything is received
Efficient
React only when the number of items received reaches the full chunk size
Trait Implementations§
Source§impl Clone for BatchStrategy
impl Clone for BatchStrategy
Source§fn clone(&self) -> BatchStrategy
fn clone(&self) -> BatchStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BatchStrategy
impl Debug for BatchStrategy
impl Copy for BatchStrategy
Auto Trait Implementations§
impl Freeze for BatchStrategy
impl RefUnwindSafe for BatchStrategy
impl Send for BatchStrategy
impl Sync for BatchStrategy
impl Unpin for BatchStrategy
impl UnwindSafe for BatchStrategy
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