Enum tokio::sync::mpsc::error::SendTimeoutError [−][src]
pub enum SendTimeoutError<T> {
Timeout(T),
Closed(T),
}
Expand description
Error returned by Sender::send_timeout
].
Variants
Timeout(T)
The data could not be sent on the channel because the channel is full, and the timeout to send has elapsed.
Closed(T)
The receive half of the channel was explicitly closed or has been dropped.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.