pub struct Options(/* private fields */);
Expand description
An options object.
Implementations§
Source§impl Options
impl Options
Sourcepub fn builder() -> OptionBuilder
pub fn builder() -> OptionBuilder
Create a new builder with the default option values.
Sourcepub fn with_log() -> Self
pub fn with_log() -> Self
Instantiate the default options but with regular debugging output enabled.
Sourcepub fn with_detailed_log() -> Self
pub fn with_detailed_log() -> Self
Instantiate the default options but with detailed debugging output enabled.
Sourcepub fn pathological_size(&self) -> usize
pub fn pathological_size(&self) -> usize
Get the pathological size.
Sourcepub fn read_buffer_size(&self) -> usize
pub fn read_buffer_size(&self) -> usize
Get the size of the read buffer.
Sourcepub fn write_buffer_size(&self) -> usize
pub fn write_buffer_size(&self) -> usize
Get the size of the write buffer.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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