#[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
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§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> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.