Skip to main content

Disk

Trait Disk 

Source
pub trait Disk: ReadWriteSeek + Send {
    // Required method
    fn is_present(&self) -> bool;
}

Required Methods§

Source

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".

Implementations on Foreign Types§

Source§

impl Disk for Cache

Source§

impl Disk for Cursor<Vec<u8>>

Implementors§