pub trait Disk: ReadWriteSeek + Send {
// Required method
fn is_present(&self) -> bool;
}Required Methods§
Sourcefn is_present(&self) -> bool
fn is_present(&self) -> bool
Returns true if the underlying block device for this disk is still present.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".