#[non_exhaustive]pub enum SignaledError<E> {
Evidence(E),
NotReady(NotReady),
}Expand description
Why a Signaled wait failed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Evidence(E)
The wrapped evidence failed.
NotReady(NotReady)
No fresh probe proved the daemon, and its channel says it will not become ready.
Trait Implementations§
Source§impl<E: Clone> Clone for SignaledError<E>
impl<E: Clone> Clone for SignaledError<E>
Source§impl<E: Debug> Debug for SignaledError<E>
impl<E: Debug> Debug for SignaledError<E>
Source§impl<E: Display> Display for SignaledError<E>
impl<E: Display> Display for SignaledError<E>
impl<E: Eq> Eq for SignaledError<E>
Source§impl<E: Error + 'static> Error for SignaledError<E>
impl<E: Error + 'static> Error for SignaledError<E>
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<E: PartialEq> PartialEq for SignaledError<E>
impl<E: PartialEq> PartialEq for SignaledError<E>
impl<E: PartialEq> StructuralPartialEq for SignaledError<E>
Auto Trait Implementations§
impl<E> Freeze for SignaledError<E>where
E: Freeze,
impl<E> RefUnwindSafe for SignaledError<E>where
E: RefUnwindSafe,
impl<E> Send for SignaledError<E>where
E: Send,
impl<E> Sync for SignaledError<E>where
E: Sync,
impl<E> Unpin for SignaledError<E>where
E: Unpin,
impl<E> UnsafeUnpin for SignaledError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for SignaledError<E>where
E: UnwindSafe,
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