pub struct BatchSender<T> { /* private fields */ }
Expand description
The internal send handle used by Sender::autobatch.
Builds a buffer of size batch_limit
and flushes when it’s full.
Implementations§
Auto Trait Implementations§
impl<T> Freeze for BatchSender<T>
impl<T> RefUnwindSafe for BatchSender<T>where
T: RefUnwindSafe,
impl<T> Send for BatchSender<T>where
T: Send,
impl<T> Sync for BatchSender<T>
impl<T> !Unpin for BatchSender<T>
impl<T> UnwindSafe for BatchSender<T>where
T: 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