Enum
ArchivedDirection
#[repr(u8)]pub enum ArchivedDirection {
Encrypt = 0,
Decrypt = 1,
}Expand description
An archived Direction
Variants
Encrypt = 0
The archived counterpart of Direction::Encrypt
Decrypt = 1
The archived counterpart of Direction::Decrypt
Trait Implementations
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDirectionwhere
<__C as Fallible>::Error: Source,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDirectionwhere
<__C as Fallible>::Error: Source,
unsafe fn check_bytes(
value: *const Self,
context: &mut __C,
) -> Result<(), <__C as Fallible>::Error>
unsafe fn check_bytes( value: *const Self, context: &mut __C, ) -> Result<(), <__C as Fallible>::Error>
Checks whether the given pointer points to a valid value within the
given context. Read more