Struct sgx_trts::se::AlignKeyRequest
source · [−]#[repr(C, align(512))]pub struct AlignKeyRequest(pub KeyRequest);
Tuple Fields
0: KeyRequest
Implementations
sourceimpl AlignKeyRequest
impl AlignKeyRequest
pub fn egetkey(&self) -> SgxResult<AlignKey128bit>
sourceimpl 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
sourceimpl Clone for AlignKeyRequest
impl Clone for AlignKeyRequest
sourcefn clone(&self) -> AlignKeyRequest
fn clone(&self) -> AlignKeyRequest
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AlignKeyRequest
impl Debug for AlignKeyRequest
sourceimpl Default for AlignKeyRequest
impl Default for AlignKeyRequest
sourcefn default() -> AlignKeyRequest
fn default() -> AlignKeyRequest
Returns the “default value” for a type. Read more
sourceimpl From<&KeyRequest> for AlignKeyRequest
impl From<&KeyRequest> for AlignKeyRequest
sourcefn from(kr: &KeyRequest) -> AlignKeyRequest
fn from(kr: &KeyRequest) -> AlignKeyRequest
Converts to this type from the input type.
sourceimpl From<AlignKeyRequest> for KeyRequest
impl From<AlignKeyRequest> for KeyRequest
sourcefn from(kr: AlignKeyRequest) -> KeyRequest
fn from(kr: AlignKeyRequest) -> KeyRequest
Converts to this type from the input type.
sourceimpl From<KeyRequest> for AlignKeyRequest
impl From<KeyRequest> for AlignKeyRequest
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more