Enum tokio_stream::wrappers::errors::BroadcastStreamRecvError[][src]

pub enum BroadcastStreamRecvError {
    Lagged(u64),
}

An error returned from the inner stream of a BroadcastStream.

Variants

Lagged(u64)

The receiver lagged too far behind. Attempting to receive again will return the oldest message still retained by the channel.

Includes the number of skipped messages.

Trait Implementations

impl Debug for BroadcastStreamRecvError[src]

This is supported on crate feature sync only.

impl PartialEq<BroadcastStreamRecvError> for BroadcastStreamRecvError[src]

This is supported on crate feature sync only.

impl StructuralPartialEq for BroadcastStreamRecvError[src]

This is supported on crate feature sync only.

Auto Trait Implementations

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.