[−][src]Struct libcryptsetup_rs::CryptDeviceStatus
Handle for crypt device status operations
Implementations
impl<'a> CryptDeviceStatus<'a>
[src]
pub fn dump(&mut self) -> Result<(), LibcryptErr>
[src]
Dump text info about device to log output
pub fn get_cipher(&mut self) -> Result<String, LibcryptErr>
[src]
Get cipher used by device
pub fn get_cipher_mode(&mut self) -> Result<String, LibcryptErr>
[src]
Get cipher mode used by device
pub fn get_uuid(&mut self) -> Result<Uuid, LibcryptErr>
[src]
Get device UUID
pub fn get_device_path(&mut self) -> Result<&Path, LibcryptErr>
[src]
Get path to underlying device
pub fn get_metadata_device_path(&mut self) -> Result<Option<&Path>, LibcryptErr>
[src]
Get path to detached metadata device or None
if it is attached
pub fn get_data_offset(&mut self) -> u64
[src]
Get offset in 512-byte sectors where real data starts
pub fn get_iv_offset(&mut self) -> u64
[src]
Get IV location offset in 512-byte sectors
pub fn get_volume_key_size(&mut self) -> c_int
[src]
Get size in bytes of volume key
pub fn get_verity_info(&mut self) -> Result<CryptParamsVerity, LibcryptErr>
[src]
Get Verity device parameters
pub fn get_integrity_info(
&mut self
) -> Result<CryptParamsIntegrity, LibcryptErr>
[src]
&mut self
) -> Result<CryptParamsIntegrity, LibcryptErr>
Get Integrity device parameters
Auto Trait Implementations
impl<'a> RefUnwindSafe for CryptDeviceStatus<'a>
impl<'a> !Send for CryptDeviceStatus<'a>
impl<'a> !Sync for CryptDeviceStatus<'a>
impl<'a> Unpin for CryptDeviceStatus<'a>
impl<'a> !UnwindSafe for CryptDeviceStatus<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,