Enum oneshot::RecvTimeoutError [−][src]
pub enum RecvTimeoutError {
Timeout,
Disconnected,
}
Expand description
An error returned when trying a time limited blocking receive on a [Receiver
].
Variants
Timeout
No message arrived on the channel before the timeout was reached. The channel is still open.
Disconnected
The channel is closed. Either the sender was dropped before sending any message, or the message has already been extracted from the receiver.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RecvTimeoutError
impl Send for RecvTimeoutError
impl Sync for RecvTimeoutError
impl Unpin for RecvTimeoutError
impl UnwindSafe for RecvTimeoutError
Blanket Implementations
Mutably borrows from an owned value. Read more