pub struct WalReadOptions { /* private fields */ }Expand description
Options for streaming updates out of the WAL.
Implementations§
Source§impl WalReadOptions
impl WalReadOptions
Sourcepub fn set_verify_checksums(&mut self, verify_checksums: bool)
pub fn set_verify_checksums(&mut self, verify_checksums: bool)
Whether to check each WAL record’s checksum while reading it. Turning this off trades corruption detection for speed.
Default: true
Sourcepub fn get_verify_checksums(&self) -> bool
pub fn get_verify_checksums(&self) -> bool
Returns the current verify_checksums setting.
See Self::set_verify_checksums for what this controls.
Trait Implementations§
Source§impl Default for WalReadOptions
impl Default for WalReadOptions
Source§impl Drop for WalReadOptions
impl Drop for WalReadOptions
impl Send for WalReadOptions
impl Sync for WalReadOptions
Auto Trait Implementations§
impl Freeze for WalReadOptions
impl RefUnwindSafe for WalReadOptions
impl Unpin for WalReadOptions
impl UnsafeUnpin for WalReadOptions
impl UnwindSafe for WalReadOptions
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