Trait DiskGetLen

Source
pub trait DiskGetLen {
    // Required method
    fn get_len(&self) -> Result<u64>;
}
Expand description

A trait for getting the length of a disk image or raw block device.

Required Methods§

Source

fn get_len(&self) -> Result<u64>

Get the current length of the disk in bytes.

Implementations on Foreign Types§

Source§

impl DiskGetLen for File

Source§

fn get_len(&self) -> Result<u64>

Implementors§