pub struct BlockCacheTraceWriterOptions { /* private fields */ }Expand description
Controls the file a block cache trace is written to.
Paired with BlockCacheTraceOptions: one says what to capture, this one
says how to store it.
Implementations§
Source§impl BlockCacheTraceWriterOptions
impl BlockCacheTraceWriterOptions
Sourcepub fn set_max_trace_file_size(&mut self, size: u64)
pub fn set_max_trace_file_size(&mut self, size: u64)
Stops the block cache trace once the file reaches this many bytes.
Default: 64 GiB
Sourcepub fn get_max_trace_file_size(&self) -> u64
pub fn get_max_trace_file_size(&self) -> u64
Returns the current max_trace_file_size setting.
See Self::set_max_trace_file_size for what this controls.
Trait Implementations§
Source§impl Drop for BlockCacheTraceWriterOptions
impl Drop for BlockCacheTraceWriterOptions
impl Send for BlockCacheTraceWriterOptions
impl Sync for BlockCacheTraceWriterOptions
Auto Trait Implementations§
impl Freeze for BlockCacheTraceWriterOptions
impl RefUnwindSafe for BlockCacheTraceWriterOptions
impl Unpin for BlockCacheTraceWriterOptions
impl UnsafeUnpin for BlockCacheTraceWriterOptions
impl UnwindSafe for BlockCacheTraceWriterOptions
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