Enum sp_std::sync::mpsc::RecvTimeoutError 1.12.0[−][src]
pub enum RecvTimeoutError { Timeout, Disconnected, }
This enumeration is the list of possible errors that made recv_timeout
unable to return data when called. This can occur with both a channel
and
a sync_channel
.
Variants
This channel is currently empty, but the Sender(s) have not yet disconnected, so data may yet become available.
The channel’s sending half has become disconnected, and there will never be any more data received on it.
Trait Implementations
impl Clone for RecvTimeoutError
[src]
impl Clone for RecvTimeoutError
[src]pub fn clone(&self) -> RecvTimeoutError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RecvTimeoutError
[src]
impl Debug for RecvTimeoutError
[src]impl Display for RecvTimeoutError
1.15.0[src]
impl Display for RecvTimeoutError
1.15.0[src]impl Error for RecvTimeoutError
1.15.0[src]
impl Error for RecvTimeoutError
1.15.0[src]impl From<RecvError> for RecvTimeoutError
1.24.0[src]
impl From<RecvError> for RecvTimeoutError
1.24.0[src]pub fn from(err: RecvError) -> RecvTimeoutError
[src]
Converts a RecvError
into a RecvTimeoutError
.
This conversion always returns RecvTimeoutError::Disconnected
.
No data is allocated on the heap.
impl PartialEq<RecvTimeoutError> for RecvTimeoutError
[src]
impl PartialEq<RecvTimeoutError> for RecvTimeoutError
[src]