#[repr(C)]pub struct ArchivedStatus{
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>,
Source§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 Debug for ArchivedStatus
impl Debug for ArchivedStatus
Source§impl PartialEq<ArchivedStatus> for Status
impl PartialEq<ArchivedStatus> for Status
Source§impl PartialEq<Status> for ArchivedStatus
impl PartialEq<Status> for ArchivedStatus
Source§impl PartialEq for ArchivedStatus
impl PartialEq for ArchivedStatus
impl Eq for ArchivedStatus
impl StructuralPartialEq for ArchivedStatus
Auto Trait Implementations§
impl Freeze for ArchivedStatus
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
Source§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<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<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
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> 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(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.