Enum tokio::sync::mpsc::error::TrySendError [−][src]
pub enum TrySendError<T> {
Full(T),
Closed(T),
}
Expand description
This enumeration is the list of the possible error outcomes for the try_send method.
Variants
Full(T)
The data could not be sent on the channel because the channel is currently full and sending would require blocking.
Closed(T)
The receive half of the channel was explicitly closed or has been dropped.
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.