pub struct PgVerifyBackupBuilder { /* private fields */ }
Expand description
pg_verifybackup
verifies a backup against the backup manifest.
Implementations§
source§impl PgVerifyBackupBuilder
impl PgVerifyBackupBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new PgVerifyBackupBuilder
sourcepub fn from(settings: &dyn Settings) -> Self
pub fn from(settings: &dyn Settings) -> Self
Create a new PgVerifyBackupBuilder
from Settings
sourcepub fn program_dir<P: Into<PathBuf>>(self, path: P) -> Self
pub fn program_dir<P: Into<PathBuf>>(self, path: P) -> Self
Location of the program binary
sourcepub fn exit_on_error(self) -> Self
pub fn exit_on_error(self) -> Self
exit immediately on error
sourcepub fn manifest_path<S: AsRef<OsStr>>(self, manifest_path: S) -> Self
pub fn manifest_path<S: AsRef<OsStr>>(self, manifest_path: S) -> Self
use specified path for manifest
sourcepub fn no_parse_wal(self) -> Self
pub fn no_parse_wal(self) -> Self
do not try to parse WAL files
sourcepub fn skip_checksums(self) -> Self
pub fn skip_checksums(self) -> Self
skip checksum verification
sourcepub fn wal_directory<S: AsRef<OsStr>>(self, wal_directory: S) -> Self
pub fn wal_directory<S: AsRef<OsStr>>(self, wal_directory: S) -> Self
use specified path for WAL files
Trait Implementations§
source§impl Clone for PgVerifyBackupBuilder
impl Clone for PgVerifyBackupBuilder
source§fn clone(&self) -> PgVerifyBackupBuilder
fn clone(&self) -> PgVerifyBackupBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl CommandBuilder for PgVerifyBackupBuilder
impl CommandBuilder for PgVerifyBackupBuilder
source§fn get_program(&self) -> &'static OsStr
fn get_program(&self) -> &'static OsStr
Get the program name
source§fn get_program_dir(&self) -> &Option<PathBuf>
fn get_program_dir(&self) -> &Option<PathBuf>
Location of the program binary
source§fn env<S: AsRef<OsStr>>(self, key: S, value: S) -> Self
fn env<S: AsRef<OsStr>>(self, key: S, value: S) -> Self
Set an environment variable for the command
source§fn get_program_file(&self) -> PathBuf
fn get_program_file(&self) -> PathBuf
Fully qualified path to the program binary
source§impl Debug for PgVerifyBackupBuilder
impl Debug for PgVerifyBackupBuilder
source§impl Default for PgVerifyBackupBuilder
impl Default for PgVerifyBackupBuilder
source§fn default() -> PgVerifyBackupBuilder
fn default() -> PgVerifyBackupBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PgVerifyBackupBuilder
impl RefUnwindSafe for PgVerifyBackupBuilder
impl Send for PgVerifyBackupBuilder
impl Sync for PgVerifyBackupBuilder
impl Unpin for PgVerifyBackupBuilder
impl UnwindSafe for PgVerifyBackupBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)