Enum sp_std::sync::mpsc::RecvTimeoutError 1.12.0[−][src]
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]
pub fn clone(&self) -> RecvTimeoutError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for RecvTimeoutError
[src]
impl Debug for RecvTimeoutError
[src]
impl Display for RecvTimeoutError
1.15.0[src]
impl Eq for RecvTimeoutError
[src]
impl Error for RecvTimeoutError
1.15.0[src]
pub fn description(&self) -> &str
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.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]
pub fn eq(&self, other: &RecvTimeoutError) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for RecvTimeoutError
[src]
impl StructuralPartialEq for RecvTimeoutError
[src]
Auto Trait Implementations
impl RefUnwindSafe for RecvTimeoutError
[src]
impl Send for RecvTimeoutError
[src]
impl Sync for RecvTimeoutError
[src]
impl Unpin for RecvTimeoutError
[src]
impl UnwindSafe for RecvTimeoutError
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,