pub struct Options {
pub extensions: Extensions,
pub skip_hash: bool,
}
Expand description
The options for use when writing an index.
Note that default options write either index V2 or V3 depending on the content of the entries.
Fields§
§extensions: Extensions
Configures which extensions to write.
skip_hash: bool
Set the trailing hash of the produced index to all zeroes to save some time.
This value is typically controlled by index.skipHash
and is respected when the index is written
via File::write()
and File::write_to()
.
Note that
Trait Implementations§
impl Copy for Options
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