pub enum WakeError {
UnknownProvider,
NotImplemented(SessionKind),
NoInboundTrigger(SessionKind),
Unavailable(String),
Transport(String),
}Expand description
Why a wake did not happen. Never carries the plaintext or a secret.
Variants§
UnknownProvider
PROVIDER_ENV named something unknown.
NotImplemented(SessionKind)
The adapter is a skeleton on this branch.
NoInboundTrigger(SessionKind)
The vendor exposes no inbound trigger into an existing session.
The endpoint (socket, server, inbox, routine) is absent or unset.
Transport(String)
The endpoint answered but the wake failed.
Trait Implementations§
impl Eq for WakeError
Source§impl Error for WakeError
impl Error for WakeError
1.30.0 · 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()
impl StructuralPartialEq for WakeError
Auto Trait Implementations§
impl Freeze for WakeError
impl RefUnwindSafe for WakeError
impl Send for WakeError
impl Sync for WakeError
impl Unpin for WakeError
impl UnsafeUnpin for WakeError
impl UnwindSafe for WakeError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.