[][src]Trait sys_util::FileSetLen

pub trait FileSetLen {
    fn set_len(&self, _len: u64) -> Result<()>;
}

A trait for setting the size of a file. This is equivalent to File's set_len method, but wrapped in a trait so that it can be implemented for other types.

Required methods

fn set_len(&self, _len: u64) -> Result<()>

Loading content...

Implementations on Foreign Types

impl FileSetLen for File[src]

Loading content...

Implementors

Loading content...