#[repr(C)]pub struct ArchivedOperationOutcomeEvent{
pub security_key_index: <usize as Archive>::Archived,
pub operation: <OperationType as Archive>::Archived,
pub success: <bool as Archive>::Archived,
}Expand description
An archived OperationOutcomeEvent
Fields§
§security_key_index: <usize as Archive>::ArchivedThe archived counterpart of OperationOutcomeEvent::security_key_index
operation: <OperationType as Archive>::ArchivedThe archived counterpart of OperationOutcomeEvent::operation
success: <bool as Archive>::ArchivedThe archived counterpart of OperationOutcomeEvent::success
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedOperationOutcomeEventwhere
usize: Archive,
OperationType: Archive,
bool: Archive,
<__C as Fallible>::Error: Trace,
<usize as Archive>::Archived: CheckBytes<__C>,
<OperationType as Archive>::Archived: CheckBytes<__C>,
<bool as Archive>::Archived: CheckBytes<__C>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedOperationOutcomeEventwhere
usize: Archive,
OperationType: Archive,
bool: Archive,
<__C as Fallible>::Error: Trace,
<usize as Archive>::Archived: CheckBytes<__C>,
<OperationType as Archive>::Archived: CheckBytes<__C>,
<bool as Archive>::Archived: CheckBytes<__C>,
impl Portable for ArchivedOperationOutcomeEventwhere
usize: Archive,
OperationType: Archive,
bool: Archive,
<usize as Archive>::Archived: Portable,
<OperationType as Archive>::Archived: Portable,
<bool as Archive>::Archived: Portable,
Auto Trait Implementations§
impl Freeze for ArchivedOperationOutcomeEvent
impl RefUnwindSafe for ArchivedOperationOutcomeEvent
impl Send for ArchivedOperationOutcomeEvent
impl Sync for ArchivedOperationOutcomeEvent
impl Unpin for ArchivedOperationOutcomeEvent
impl UnwindSafe for ArchivedOperationOutcomeEvent
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§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
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.