pub struct ContainerProviderBuilder { /* private fields */ }Implementations§
Source§impl ContainerProviderBuilder
impl ContainerProviderBuilder
pub fn new() -> Self
pub fn image(self, image: impl Into<String>) -> Self
pub fn boot_timeout(self, timeout: Duration) -> Self
pub fn pull_policy(self, policy: PullPolicy) -> Self
pub fn instance_id(self, id: impl Into<String>) -> Self
pub fn build(self) -> Result<ContainerProvider, ProviderError>
Trait Implementations§
Source§impl Clone for ContainerProviderBuilder
impl Clone for ContainerProviderBuilder
Source§fn clone(&self) -> ContainerProviderBuilder
fn clone(&self) -> ContainerProviderBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContainerProviderBuilder
impl Debug for ContainerProviderBuilder
Auto Trait Implementations§
impl Freeze for ContainerProviderBuilder
impl RefUnwindSafe for ContainerProviderBuilder
impl Send for ContainerProviderBuilder
impl Sync for ContainerProviderBuilder
impl Unpin for ContainerProviderBuilder
impl UnsafeUnpin for ContainerProviderBuilder
impl UnwindSafe for ContainerProviderBuilder
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