pub trait StorageDevice {
// Required methods
fn get_disk_path(&self) -> Option<&str>;
fn get_read_only(&self) -> bool;
}Required Methods§
fn get_disk_path(&self) -> Option<&str>
fn get_read_only(&self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".