Enum worterbuch_common::ErrorCode
source · #[repr(u8)]pub enum ErrorCode {
Show 16 variants
IllegalWildcard = 0,
IllegalMultiWildcard = 1,
MultiWildcardAtIllegalPosition = 2,
IoError = 3,
SerdeError = 4,
NoSuchValue = 5,
NotSubscribed = 6,
ProtocolNegotiationFailed = 7,
InvalidServerResponse = 8,
ReadOnlyKey = 9,
AuthorizationFailed = 10,
AuthorizationRequired = 11,
AlreadyAuthorized = 12,
MissingValue = 13,
Unauthorized = 14,
Other = 255,
}Variants§
IllegalWildcard = 0
IllegalMultiWildcard = 1
MultiWildcardAtIllegalPosition = 2
IoError = 3
SerdeError = 4
NoSuchValue = 5
NotSubscribed = 6
ProtocolNegotiationFailed = 7
InvalidServerResponse = 8
ReadOnlyKey = 9
AuthorizationFailed = 10
AuthorizationRequired = 11
AlreadyAuthorized = 12
MissingValue = 13
Other = 255
Trait Implementations§
source§impl<'de> Deserialize<'de> for ErrorCode
impl<'de> Deserialize<'de> for ErrorCode
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
source§impl From<&WorterbuchError> for ErrorCode
impl From<&WorterbuchError> for ErrorCode
source§fn from(e: &WorterbuchError) -> Self
fn from(e: &WorterbuchError) -> Self
Converts to this type from the input type.
impl Eq for ErrorCode
impl StructuralPartialEq for ErrorCode
Auto Trait Implementations§
impl Freeze for ErrorCode
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)