#[repr(i16)]pub enum ErrorKind {
Show 29 variants
CoreError = -32_007,
Unsupported = -32_006,
NotReady = -32_005,
IOError = -32_016,
RegistryError = -32_017,
InvalidData = -32_009,
FunctionFailed = -32_010,
ResourceNotFound = -32_001,
ResourceBusy = -32_013,
ResourceAlreadyExists = -32_012,
AccessDenied = -32_002,
AccessDeniedMoreDataRequired = -32_022,
MethodNotImplemented = -32_014,
MethodNotFound = -32_601,
InvalidParameter = -32_602,
Timeout = -32_008,
Aborted = -32_011,
EvaHIAuthenticationRequired = -32_018,
TokenRestricted = -32_015,
BusClientNotRegistered = -32_113,
BusData = -32_114,
BusIo = -32_115,
BusOther = -32_116,
BusNotSupported = -32_117,
BusBusy = -32_118,
BusNotDelivered = -32_119,
BusTimeout = -32_120,
BusAccess = -32_121,
Other = -32_004,
}
Variants§
CoreError = -32_007
Unsupported = -32_006
NotReady = -32_005
IOError = -32_016
RegistryError = -32_017
InvalidData = -32_009
FunctionFailed = -32_010
ResourceNotFound = -32_001
ResourceBusy = -32_013
ResourceAlreadyExists = -32_012
AccessDenied = -32_002
AccessDeniedMoreDataRequired = -32_022
MethodNotImplemented = -32_014
MethodNotFound = -32_601
InvalidParameter = -32_602
Timeout = -32_008
Aborted = -32_011
EvaHIAuthenticationRequired = -32_018
TokenRestricted = -32_015
BusClientNotRegistered = -32_113
BusData = -32_114
BusIo = -32_115
BusOther = -32_116
BusNotSupported = -32_117
BusBusy = -32_118
BusNotDelivered = -32_119
BusTimeout = -32_120
BusAccess = -32_121
Other = -32_004
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ErrorKind
impl<'de> Deserialize<'de> for ErrorKind
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 Copy for ErrorKind
impl Eq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> CustomError for T
impl<T> CustomError for T
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.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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more