Enum flume::select::SelectError
source · pub enum SelectError {
Timeout,
}
Expand description
An error that may be emitted when attempting to wait for a value on a receiver.
Variants§
Timeout
A timeout occurred when waiting on a Selector
.
Trait Implementations§
source§impl Clone for SelectError
impl Clone for SelectError
source§fn clone(&self) -> SelectError
fn clone(&self) -> SelectError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SelectError
impl Debug for SelectError
source§impl Display for SelectError
impl Display for SelectError
source§impl Error for SelectError
impl Error for SelectError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq for SelectError
impl PartialEq for SelectError
source§fn eq(&self, other: &SelectError) -> bool
fn eq(&self, other: &SelectError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SelectError
impl Eq for SelectError
impl StructuralPartialEq for SelectError
Auto Trait Implementations§
impl Freeze for SelectError
impl RefUnwindSafe for SelectError
impl Send for SelectError
impl Sync for SelectError
impl Unpin for SelectError
impl UnwindSafe for SelectError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)