[][src]Enum multistream_batch::channel::tx_buf_batch::TxBufBatchChannelResult

pub enum TxBufBatchChannelResult<'i, I: Debug> {
    Item(&'i I),
    Complete(Complete<'i, I>),
    BufferedComplete(Complete<'i, I>),
}

Represents result from TxBufBatchChannel.next() function call.

Variants

Item(&'i I)

New item appended to batch

Complete(Complete<'i, I>)

Batch is now complete

BufferedComplete(Complete<'i, I>)

Batch retry is now complete

Trait Implementations

impl<'i, I: Debug> Debug for TxBufBatchChannelResult<'i, I>[src]

Auto Trait Implementations

impl<'i, I> RefUnwindSafe for TxBufBatchChannelResult<'i, I> where
    I: RefUnwindSafe

impl<'i, I> Send for TxBufBatchChannelResult<'i, I> where
    I: Send + Sync

impl<'i, I> Sync for TxBufBatchChannelResult<'i, I> where
    I: Send + Sync

impl<'i, I> Unpin for TxBufBatchChannelResult<'i, I>

impl<'i, I> !UnwindSafe for TxBufBatchChannelResult<'i, I>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.