use ;
use crateSeek;
/// Trait providing a truncation operation.
///
/// Similar to [`Seek`], the method is infallible, as it should not do any I/O.
///
/// If a file is being concurrently accessed by another process, don’t expect
/// things to work at all. Files should have either a locking or ownership
/// mechanism to prevent concurrent access from other processes.