#[repr(u8)]pub enum ErrorCode {
Show 26 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,
NoPubStream = 15,
NotLeader = 16,
Cas = 17,
CasVersionMismatch = 18,
NotImplemented = 19,
KeyIsLocked = 20,
KeyIsNotLocked = 21,
LockAcquisitionCancelled = 22,
FeatureDisabled = 23,
ClientIDCollision = 24,
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
NoPubStream = 15
NotLeader = 16
Cas = 17
CasVersionMismatch = 18
NotImplemented = 19
KeyIsLocked = 20
KeyIsNotLocked = 21
LockAcquisitionCancelled = 22
FeatureDisabled = 23
ClientIDCollision = 24
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
impl Eq for ErrorCode
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 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 UnsafeUnpin 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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.