Struct sgx_trts::se::AlignKeyRequest
source · #[repr(C, align(512))]pub struct AlignKeyRequest(pub KeyRequest);
Tuple Fields§
§0: KeyRequest
Implementations§
source§impl AlignKeyRequest
impl AlignKeyRequest
pub fn egetkey(&self) -> SgxResult<AlignKey128bit>
source§impl AlignKeyRequest
impl AlignKeyRequest
pub const UNPADDED_SIZE: usize = 512usize
pub const ALIGN_SIZE: usize = 512usize
pub fn try_copy_from(src: &[u8]) -> Option<AlignKeyRequest>
Trait Implementations§
source§impl Clone for AlignKeyRequest
impl Clone for AlignKeyRequest
source§fn clone(&self) -> AlignKeyRequest
fn clone(&self) -> AlignKeyRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AlignKeyRequest
impl Debug for AlignKeyRequest
source§impl Default for AlignKeyRequest
impl Default for AlignKeyRequest
source§fn default() -> AlignKeyRequest
fn default() -> AlignKeyRequest
Returns the “default value” for a type. Read more
source§impl From<&KeyRequest> for AlignKeyRequest
impl From<&KeyRequest> for AlignKeyRequest
source§fn from(kr: &KeyRequest) -> AlignKeyRequest
fn from(kr: &KeyRequest) -> AlignKeyRequest
Converts to this type from the input type.
source§impl From<AlignKeyRequest> for KeyRequest
impl From<AlignKeyRequest> for KeyRequest
source§fn from(kr: AlignKeyRequest) -> KeyRequest
fn from(kr: AlignKeyRequest) -> KeyRequest
Converts to this type from the input type.
source§impl From<KeyRequest> for AlignKeyRequest
impl From<KeyRequest> for AlignKeyRequest
source§fn from(kr: KeyRequest) -> AlignKeyRequest
fn from(kr: KeyRequest) -> AlignKeyRequest
Converts to this type from the input type.
impl ContiguousMemory for AlignKeyRequest
impl Copy for AlignKeyRequest
Auto Trait Implementations§
impl RefUnwindSafe for AlignKeyRequest
impl Send for AlignKeyRequest
impl Sync for AlignKeyRequest
impl Unpin for AlignKeyRequest
impl UnwindSafe for AlignKeyRequest
Blanket Implementations§
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