pub struct ReaderOptions {
pub limits: DecodeLimits,
}Expand description
Options controlling how a Reader opens and decodes a database.
Use Reader::from_source_with_options or
Reader::open_readfile_with_options to supply custom options. The
convenience constructors use ReaderOptions::default(), which applies the
recommended resource limits described on DecodeLimits.
Fields§
§limits: DecodeLimitsResource limits applied to metadata and record decoding.
Trait Implementations§
Source§impl Clone for ReaderOptions
impl Clone for ReaderOptions
impl Copy for ReaderOptions
Source§impl Debug for ReaderOptions
impl Debug for ReaderOptions
Source§impl Default for ReaderOptions
impl Default for ReaderOptions
impl Eq for ReaderOptions
Source§impl PartialEq for ReaderOptions
impl PartialEq for ReaderOptions
impl StructuralPartialEq for ReaderOptions
Auto Trait Implementations§
impl Freeze for ReaderOptions
impl RefUnwindSafe for ReaderOptions
impl Send for ReaderOptions
impl Sync for ReaderOptions
impl Unpin for ReaderOptions
impl UnsafeUnpin for ReaderOptions
impl UnwindSafe for ReaderOptions
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