pub struct HighSpeedWriterConfig {
pub buffer_size: usize,
pub enable_monitoring: bool,
pub estimated_total_size: Option<usize>,
pub enable_compression: bool,
pub auto_flush: bool,
}
Expand description
High-speed buffered writer configuration
Fields§
§buffer_size: usize
Buffer size (bytes)
enable_monitoring: bool
Whether to enable performance monitoring
estimated_total_size: Option<usize>
Estimated total output size (for pre-allocation)
enable_compression: bool
Whether to use compression writing
auto_flush: bool
Whether to flush the buffer automatically after writing
Trait Implementations§
Source§impl Clone for HighSpeedWriterConfig
impl Clone for HighSpeedWriterConfig
Source§fn clone(&self) -> HighSpeedWriterConfig
fn clone(&self) -> HighSpeedWriterConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for HighSpeedWriterConfig
impl Debug for HighSpeedWriterConfig
Auto Trait Implementations§
impl Freeze for HighSpeedWriterConfig
impl RefUnwindSafe for HighSpeedWriterConfig
impl Send for HighSpeedWriterConfig
impl Sync for HighSpeedWriterConfig
impl Unpin for HighSpeedWriterConfig
impl UnwindSafe for HighSpeedWriterConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more