Trait base::PunchHoleMut

source ·
pub trait PunchHoleMut {
    // Required method
    fn punch_hole_mut(&mut self, offset: u64, length: u64) -> Result<()>;
}
Expand description

A trait for deallocating space in a file of a mutable reference

Required Methods§

source

fn punch_hole_mut(&mut self, offset: u64, length: u64) -> Result<()>

Replace a range of bytes with a hole.

Implementors§