Struct sgx_tprotected_fs::EncryptMode
source · [−]pub struct EncryptMode(_);
Implementations
sourceimpl EncryptMode
impl EncryptMode
pub fn auto_key(key_policy: Option<KeyPolicy>) -> EncryptMode
pub fn user_key(key: Key128bit) -> EncryptMode
pub fn integrity_only() -> EncryptMode
Trait Implementations
sourceimpl Clone for EncryptMode
impl Clone for EncryptMode
sourcefn clone(&self) -> EncryptMode
fn clone(&self) -> EncryptMode
Returns a copy of the value. Read more
1.0.0const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for EncryptMode
impl Debug for EncryptMode
Auto Trait Implementations
impl RefUnwindSafe for EncryptMode
impl Send for EncryptMode
impl Sync for EncryptMode
impl Unpin for EncryptMode
impl UnwindSafe for EncryptMode
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more