pub struct PgControlDataBuilder { /* private fields */ }
Expand description
pg_controldata
displays control information of a PostgreSQL
database cluster.
Implementations§
source§impl PgControlDataBuilder
impl PgControlDataBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new PgControlDataBuilder
sourcepub fn from(settings: &dyn Settings) -> Self
pub fn from(settings: &dyn Settings) -> Self
Create a new PgControlDataBuilder
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
Trait Implementations§
source§impl Clone for PgControlDataBuilder
impl Clone for PgControlDataBuilder
source§fn clone(&self) -> PgControlDataBuilder
fn clone(&self) -> PgControlDataBuilder
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 PgControlDataBuilder
impl CommandBuilder for PgControlDataBuilder
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 PgControlDataBuilder
impl Debug for PgControlDataBuilder
source§impl Default for PgControlDataBuilder
impl Default for PgControlDataBuilder
source§fn default() -> PgControlDataBuilder
fn default() -> PgControlDataBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PgControlDataBuilder
impl RefUnwindSafe for PgControlDataBuilder
impl Send for PgControlDataBuilder
impl Sync for PgControlDataBuilder
impl Unpin for PgControlDataBuilder
impl UnwindSafe for PgControlDataBuilder
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
)