pub struct CompartmentKey(/* private fields */);Expand description
The key of an unlocked compartment: kept while the compartment stays unlocked, so that changing its keys needs no new passphrase or confirmation. It is wiped when dropped and never printed.
Trait Implementations§
Source§impl Clone for CompartmentKey
impl Clone for CompartmentKey
Source§fn clone(&self) -> CompartmentKey
fn clone(&self) -> CompartmentKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Forget for CompartmentKey
impl Freeze for CompartmentKey
impl Move for CompartmentKey
impl RefUnwindSafe for CompartmentKey
impl Send for CompartmentKey
impl Sync for CompartmentKey
impl Unpin for CompartmentKey
impl UnsafeUnpin for CompartmentKey
impl UnwindSafe for CompartmentKey
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