pub struct DeviceVaultRootKey { /* private fields */ }Implementations§
Source§impl DeviceVaultRootKey
impl DeviceVaultRootKey
pub fn generate() -> Self
pub fn from_bytes(bytes: [u8; 32]) -> Self
pub fn try_from_secret(secret: &SecretBytes) -> ImResult<Self>
Trait Implementations§
Source§impl Debug for DeviceVaultRootKey
impl Debug for DeviceVaultRootKey
Source§impl Drop for DeviceVaultRootKey
impl Drop for DeviceVaultRootKey
Auto Trait Implementations§
impl Freeze for DeviceVaultRootKey
impl RefUnwindSafe for DeviceVaultRootKey
impl Send for DeviceVaultRootKey
impl Sync for DeviceVaultRootKey
impl Unpin for DeviceVaultRootKey
impl UnsafeUnpin for DeviceVaultRootKey
impl UnwindSafe for DeviceVaultRootKey
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