pub struct PgTestTimingBuilder { /* private fields */ }
Expand description
pg_test_timing
tests the timing of a PostgreSQL
instance.
Implementations§
Source§impl PgTestTimingBuilder
impl PgTestTimingBuilder
Sourcepub fn new() -> Self
pub fn new() -> Self
Create a new PgTestTimingBuilder
Sourcepub fn from(settings: &dyn Settings) -> Self
pub fn from(settings: &dyn Settings) -> Self
Create a new PgTestTimingBuilder
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 PgTestTimingBuilder
impl Clone for PgTestTimingBuilder
Source§fn clone(&self) -> PgTestTimingBuilder
fn clone(&self) -> PgTestTimingBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl CommandBuilder for PgTestTimingBuilder
impl CommandBuilder for PgTestTimingBuilder
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 PgTestTimingBuilder
impl Debug for PgTestTimingBuilder
Source§impl Default for PgTestTimingBuilder
impl Default for PgTestTimingBuilder
Source§fn default() -> PgTestTimingBuilder
fn default() -> PgTestTimingBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PgTestTimingBuilder
impl RefUnwindSafe for PgTestTimingBuilder
impl Send for PgTestTimingBuilder
impl Sync for PgTestTimingBuilder
impl Unpin for PgTestTimingBuilder
impl UnwindSafe for PgTestTimingBuilder
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