pub trait Writer: Write + Seek {
// Required method
fn set_len(&mut self, size: u64) -> Result<(), SparseError>;
}Expand description
A union trait for Write and Seek that also allows truncation.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".