Skip to main content

SendError

Type Alias SendError 

Source
pub type SendError<Q, R> = SessionError<<<Q as Route<R>>::Route as Sink<<Q as Role>::Message>>::Error>;
Expand description

Error type for send operations, specialized to the channel’s error type.

Aliased Type§

pub enum SendError<Q, R> {
    Sealed,
    Channel(<<Q as Route<R>>::Route as Sink<<Q as Role>::Message>>::Error),
}

Variants§

§

Sealed

The session was used after being sealed.

§

Channel(<<Q as Route<R>>::Route as Sink<<Q as Role>::Message>>::Error)

An error from the underlying channel.