A trait for allocating disk space in a sparse file.
This is equivalent to fallocate() with no special flags.
A trait for getting the size of a file.
This is equivalent to File’s metadata().len() method,
but wrapped in a trait so that it can be implemented for
other types.
A trait similar to the unix ReadExt
and WriteExt
traits, but for volatile memory.
A trait similar to Read
and Write
, but uses volatile memory as buffers.
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.
A trait for flushing the contents of a file to disk.
This is equivalent to File’s sync_all
and sync_data
methods, but wrapped in a trait so that
it can be implemented for other types.