pub trait SinkTrySendError: Error + 'static {
// Required methods
fn is_full(&self) -> bool;
fn is_disconnected(&self) -> bool;
}
Expand description
Error from SinkTrySend::try_send
See also ErasedSinkTrySendError
which can often
be usefully used when an implementation of SinkTrySendError
is needed.
Required Methods§
Sourcefn is_full(&self) -> bool
fn is_full(&self) -> bool
The stream was full.
No arrangements will have been made for a wakeup when space becomes available.
Corresponds to [futures::channel::mpsc::TrySendError::is_full
]
Sourcefn is_disconnected(&self) -> bool
fn is_disconnected(&self) -> bool
The stream has disconnected
Corresponds to [futures::channel::mpsc::TrySendError::is_disconnected
]