#[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§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> 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