Struct
AesSetup
pub struct AesSetup {
pub key: Vec<u8>,
pub mode: AesMode,
}Fields
key: Vec<u8>mode: AesModeTrait Implementations
impl Archive for AesSetup
impl Archive for AesSetup
const COPY_OPTIMIZATION: CopyOptimization<Self>
const COPY_OPTIMIZATION: CopyOptimization<Self>
An optimization flag that allows the bytes of this type to be copied
directly to a writer instead of calling
serialize. Read moretype Archived = ArchivedAesSetup
type Archived = ArchivedAesSetup
The archived representation of this type. Read more
type Resolver = AesSetupResolver
type Resolver = AesSetupResolver
The resolver for this type. It must contain all the additional
information from serializing needed to make the archived type from
the normal type.
impl BlockingArchive for AesSetup
impl BlockingArchive for AesSetup
type Response = Result<usize, CryptoError>
type Response = Result<usize, CryptoError>
response type for this message
impl Clone for AesSetup
impl Clone for AesSetup
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Debug for AesSetup
impl Debug for AesSetup
impl<__D: Fallible + ?Sized> Deserialize<AesSetup, __D> for Archived<AesSetup>
impl<__D: Fallible + ?Sized> Deserialize<AesSetup, __D> for Archived<AesSetup>
fn deserialize(
&self,
deserializer: &mut __D,
) -> Result<AesSetup, <__D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut __D, ) -> Result<AesSetup, <__D as Fallible>::Error>
Deserializes using the given deserializer
impl MessageId for AesSetup
impl MessageId for AesSetup
const ID: MessageId = 1usize
const ID: MessageId = 1usize
unique message identifier
const SERVER: &'static str = "os/crypto"
const SERVER: &'static str = "os/crypto"
target server name