Struct datacake_rpc::ArchivedStatus
source · #[repr()]pub struct ArchivedStatuswhere
ErrorCode: Archive,
String: Archive,{
pub code: Archived<ErrorCode>,
pub message: Archived<String>,
}Expand description
An archived Status
Fields§
§code: Archived<ErrorCode>The archived counterpart of Status::code
message: Archived<String>The archived counterpart of Status::message
Trait Implementations§
source§impl<__C: ?Sized> CheckBytes<__C> for ArchivedStatuswhere
ErrorCode: Archive,
String: Archive,
Archived<ErrorCode>: CheckBytes<__C>,
Archived<String>: CheckBytes<__C>,
impl<__C: ?Sized> CheckBytes<__C> for ArchivedStatuswhere
ErrorCode: Archive,
String: Archive,
Archived<ErrorCode>: CheckBytes<__C>,
Archived<String>: CheckBytes<__C>,
§type Error = StructCheckError
type Error = StructCheckError
The error that may result from checking the type.
source§unsafe fn check_bytes<'__bytecheck>(
value: *const Self,
context: &mut __C
) -> Result<&'__bytecheck Self, StructCheckError>
unsafe fn check_bytes<'__bytecheck>(
value: *const Self,
context: &mut __C
) -> Result<&'__bytecheck Self, StructCheckError>
Checks whether the given pointer points to a valid value within the
given context. Read more
source§impl PartialEq<ArchivedStatus> for ArchivedStatuswhere
ErrorCode: Archive,
String: Archive,
impl PartialEq<ArchivedStatus> for ArchivedStatuswhere
ErrorCode: Archive,
String: Archive,
source§fn eq(&self, other: &ArchivedStatus) -> bool
fn eq(&self, other: &ArchivedStatus) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialEq<ArchivedStatus> for Statuswhere
ErrorCode: Archive,
String: Archive,
Archived<ErrorCode>: PartialEq<ErrorCode>,
Archived<String>: PartialEq<String>,
impl PartialEq<ArchivedStatus> for Statuswhere
ErrorCode: Archive,
String: Archive,
Archived<ErrorCode>: PartialEq<ErrorCode>,
Archived<String>: PartialEq<String>,
source§fn eq(&self, other: &ArchivedStatus) -> bool
fn eq(&self, other: &ArchivedStatus) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialEq<Status> for ArchivedStatuswhere
ErrorCode: Archive,
String: Archive,
Archived<ErrorCode>: PartialEq<ErrorCode>,
Archived<String>: PartialEq<String>,
impl PartialEq<Status> for ArchivedStatuswhere
ErrorCode: Archive,
String: Archive,
Archived<ErrorCode>: PartialEq<ErrorCode>,
Archived<String>: PartialEq<String>,
impl Eq for ArchivedStatuswhere
ErrorCode: Archive,
String: Archive,
impl StructuralEq for ArchivedStatuswhere
ErrorCode: Archive,
String: Archive,
impl StructuralPartialEq for ArchivedStatuswhere
ErrorCode: Archive,
String: Archive,
Auto Trait Implementations§
impl RefUnwindSafe for ArchivedStatus
impl Send for ArchivedStatus
impl Sync for ArchivedStatus
impl Unpin for ArchivedStatus
impl UnwindSafe for ArchivedStatus
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.