Enum datacake_rpc::ArchivedErrorCode
source · #[repr(u8,)]
pub enum ArchivedErrorCode {
ServiceUnavailable,
InternalError,
InvalidPayload,
ConnectionError,
ChannelClosed,
}Expand description
An archived ErrorCode
Variants§
The archived counterpart of ErrorCode::ServiceUnavailable
InternalError
The archived counterpart of ErrorCode::InternalError
InvalidPayload
The archived counterpart of ErrorCode::InvalidPayload
ConnectionError
The archived counterpart of ErrorCode::ConnectionError
ChannelClosed
The archived counterpart of ErrorCode::ChannelClosed
Trait Implementations§
source§impl<__C: ?Sized> CheckBytes<__C> for ArchivedErrorCode
impl<__C: ?Sized> CheckBytes<__C> for ArchivedErrorCode
§type Error = EnumCheckError<u8>
type Error = EnumCheckError<u8>
The error that may result from checking the type.
source§unsafe fn check_bytes<'__bytecheck>(
value: *const Self,
context: &mut __C
) -> Result<&'__bytecheck Self, EnumCheckError<u8>>
unsafe fn check_bytes<'__bytecheck>(
value: *const Self,
context: &mut __C
) -> Result<&'__bytecheck Self, EnumCheckError<u8>>
Checks whether the given pointer points to a valid value within the
given context. Read more
source§impl Debug for ArchivedErrorCode
impl Debug for ArchivedErrorCode
source§impl PartialEq<ArchivedErrorCode> for ArchivedErrorCode
impl PartialEq<ArchivedErrorCode> for ArchivedErrorCode
source§fn eq(&self, other: &ArchivedErrorCode) -> bool
fn eq(&self, other: &ArchivedErrorCode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialEq<ArchivedErrorCode> for ErrorCode
impl PartialEq<ArchivedErrorCode> for ErrorCode
source§fn eq(&self, other: &ArchivedErrorCode) -> bool
fn eq(&self, other: &ArchivedErrorCode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialEq<ErrorCode> for ArchivedErrorCode
impl PartialEq<ErrorCode> for ArchivedErrorCode
impl Eq for ArchivedErrorCode
impl StructuralEq for ArchivedErrorCode
impl StructuralPartialEq for ArchivedErrorCode
Auto Trait Implementations§
impl RefUnwindSafe for ArchivedErrorCode
impl Send for ArchivedErrorCode
impl Sync for ArchivedErrorCode
impl Unpin for ArchivedErrorCode
impl UnwindSafe for ArchivedErrorCode
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
source§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
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> LayoutRaw for T
impl<T> LayoutRaw for T
source§fn layout_raw(_: *const T) -> Layout
fn layout_raw(_: *const T) -> Layout
Gets the layout of the type.