Trait base::FileAllocate
source · pub trait FileAllocate {
// Required method
fn allocate(&self, offset: u64, len: u64) -> Result<()>;
}
Expand description
A trait for allocating disk space in a sparse file. This is equivalent to fallocate() with no special flags.