[−][src]Struct multistream_batch::channel::tx_buf_batch::Complete
Provides actions that can be taken to consume complete batch.
Implementations
impl<'i, I: Debug> Complete<'i, I>
[src]
pub fn retry(&mut self)
[src]
Restarts the batch. TxBufBatchChannel.next()
will iterate already received items starting from oldest one in the current batch.
pub fn commit(&mut self)
[src]
Commits the current batch by dropping all buffered items.
pub fn drain(&mut self) -> Drain<I>
[src]
Commits the current batch by draining all buffered items.
Trait Implementations
Auto Trait Implementations
impl<'i, I> RefUnwindSafe for Complete<'i, I> where
I: RefUnwindSafe,
I: RefUnwindSafe,
impl<'i, I> Send for Complete<'i, I> where
I: Send,
I: Send,
impl<'i, I> Sync for Complete<'i, I> where
I: Send + Sync,
I: Send + Sync,
impl<'i, I> Unpin for Complete<'i, I>
impl<'i, I> !UnwindSafe for Complete<'i, I>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,