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