pub struct ConfigBuilder { /* private fields */ }Expand description
Builder for Config.
Implementations§
Source§impl ConfigBuilder
impl ConfigBuilder
Sourcepub fn workdir_path(&mut self, value: PathBuf) -> &mut Self
pub fn workdir_path(&mut self, value: PathBuf) -> &mut Self
The host workdir loaded into dagger.
Sourcepub fn config_path(&mut self, value: PathBuf) -> &mut Self
pub fn config_path(&mut self, value: PathBuf) -> &mut Self
Project configuration file path.
Sourcepub fn timeout_ms(&mut self, value: u64) -> &mut Self
pub fn timeout_ms(&mut self, value: u64) -> &mut Self
The maximum time in milliseconds for establishing a connection to the server. Defaults to 10 seconds.
Sourcepub fn load_workspace_modules(&mut self, value: bool) -> &mut Self
pub fn load_workspace_modules(&mut self, value: bool) -> &mut Self
Opt into loading workspace modules for this connection.
Sourcepub fn execute_timeout_ms(&mut self, value: u64) -> &mut Self
pub fn execute_timeout_ms(&mut self, value: u64) -> &mut Self
The maximum time in milliseconds for executing a request. Defaults to no timeout.
Trait Implementations§
Source§impl Clone for ConfigBuilder
impl Clone for ConfigBuilder
Source§fn clone(&self) -> ConfigBuilder
fn clone(&self) -> ConfigBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ConfigBuilder
impl !RefUnwindSafe for ConfigBuilder
impl Send for ConfigBuilder
impl Sync for ConfigBuilder
impl Unpin for ConfigBuilder
impl UnsafeUnpin for ConfigBuilder
impl !UnwindSafe for ConfigBuilder
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