Struct fm::cryptsetup::CryptoDeviceMounter
source · pub struct CryptoDeviceMounter {
pub cryptdevice: CryptoDevice,
pub password_holder: PasswordHolder,
}Expand description
Holds the device itself and its passwords.
Fields§
§cryptdevice: CryptoDevice§password_holder: PasswordHolderImplementations§
Trait Implementations§
source§impl Clone for CryptoDeviceMounter
impl Clone for CryptoDeviceMounter
source§fn clone(&self) -> CryptoDeviceMounter
fn clone(&self) -> CryptoDeviceMounter
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 CryptoDeviceMounter
impl Debug for CryptoDeviceMounter
source§impl Default for CryptoDeviceMounter
impl Default for CryptoDeviceMounter
source§fn default() -> CryptoDeviceMounter
fn default() -> CryptoDeviceMounter
Returns the “default value” for a type. Read more
source§impl SelectableContent<CryptoDeviceMounter> for CryptoDeviceOpener
impl SelectableContent<CryptoDeviceMounter> for CryptoDeviceOpener
Implement a selectable content for this struct.
This trait allows to navigate through a vector of element content_type.
It implements: is_empty, len, next, prev, selected.
selected returns an optional reference to the value.
source§fn selected(&self) -> Option<&CryptoDeviceMounter>
fn selected(&self) -> Option<&CryptoDeviceMounter>
Returns a reference to the selected content.
source§fn content(&self) -> &Vec<CryptoDeviceMounter>
fn content(&self) -> &Vec<CryptoDeviceMounter>
A reference to the content.