pub trait CryptDeviceType {
// Required method
fn device_type(&self) -> crypt_device_type;
}Expand description
Trait for querying the device type at runtime
Required Methods§
Sourcefn device_type(&self) -> crypt_device_type
fn device_type(&self) -> crypt_device_type
Type of the crypt device
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".