pub struct WriteOptions {
pub block_size: u32,
pub restart_interval: usize,
pub write_log: bool,
pub skip_index_objects: bool,
pub unpadded: bool,
}Expand description
Write options for reftable creation.
Fields§
§block_size: u32Block size in bytes. 0 means use the default.
restart_interval: usizeRestart interval (number of records between restart points).
write_log: boolWhether to write log blocks.
skip_index_objects: boolSkip writing the object index (config reftable.indexObjects=false).
unpadded: boolWrite blocks without padding to the block size.
Trait Implementations§
Source§impl Clone for WriteOptions
impl Clone for WriteOptions
Source§fn clone(&self) -> WriteOptions
fn clone(&self) -> WriteOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WriteOptions
impl Debug for WriteOptions
Auto Trait Implementations§
impl Freeze for WriteOptions
impl RefUnwindSafe for WriteOptions
impl Send for WriteOptions
impl Sync for WriteOptions
impl Unpin for WriteOptions
impl UnsafeUnpin for WriteOptions
impl UnwindSafe for WriteOptions
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