pub trait WriteOptions: Default {
// Required methods
fn is_valid(&self) -> bool;
fn buffer_size<T: FormattedSize, const FORMAT: u128>(&self) -> usize;
}Expand description
Shared trait for all writer options.
Required Methods§
Sourcefn buffer_size<T: FormattedSize, const FORMAT: u128>(&self) -> usize
fn buffer_size<T: FormattedSize, const FORMAT: u128>(&self) -> usize
Get an upper bound on the buffer size.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".