pub enum RequestErrorReason {
Show 13 variants
SessionActive,
DeviceGone,
NotCommissionable,
WrongKind,
UnknownSession,
WrongState,
InvalidCode,
InvalidWifi,
BluetoothUnavailable,
NotSignedIn,
ScopeNotOffered,
CloudUnreachableForDevice,
Busy,
}Expand description
Stable cause of a rejected /local/pod/* or /local/host/provision/*
request, carried as details.reason of the error envelope.
Variants§
SessionActive
DeviceGone
NotCommissionable
WrongKind
UnknownSession
WrongState
InvalidCode
InvalidWifi
NotSignedIn
ScopeNotOffered
CloudUnreachableForDevice
Busy
Implementations§
Trait Implementations§
Source§impl Clone for RequestErrorReason
impl Clone for RequestErrorReason
impl Copy for RequestErrorReason
Source§impl Debug for RequestErrorReason
impl Debug for RequestErrorReason
Source§impl<'de> Deserialize<'de> for RequestErrorReason
impl<'de> Deserialize<'de> for RequestErrorReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RequestErrorReason
Source§impl Hash for RequestErrorReason
impl Hash for RequestErrorReason
Source§impl PartialEq for RequestErrorReason
impl PartialEq for RequestErrorReason
Source§impl Serialize for RequestErrorReason
impl Serialize for RequestErrorReason
impl StructuralPartialEq for RequestErrorReason
Auto Trait Implementations§
impl Freeze for RequestErrorReason
impl RefUnwindSafe for RequestErrorReason
impl Send for RequestErrorReason
impl Sync for RequestErrorReason
impl Unpin for RequestErrorReason
impl UnsafeUnpin for RequestErrorReason
impl UnwindSafe for RequestErrorReason
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