pub struct Containerd {
pub socket_path: ConfigValue<PathBuf>,
pub connection_timeout: Duration,
pub query_timeout: Duration,
}Expand description
containerd runtime discovery and client timeouts.
Fields§
§socket_path: ConfigValue<PathBuf>containerd gRPC socket. A defaulted empty value enables path probing.
connection_timeout: DurationTimeout for establishing a containerd gRPC connection. Defaults to 1 second; 0 never connects.
query_timeout: DurationPer-RPC timeout for containerd API calls. Defaults to 5 seconds; 0 fails every call.
Trait Implementations§
Source§impl Clone for Containerd
impl Clone for Containerd
Source§fn clone(&self) -> Containerd
fn clone(&self) -> Containerd
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 moreSource§impl Debug for Containerd
impl Debug for Containerd
Source§impl Default for Containerd
impl Default for Containerd
Source§fn default() -> Containerd
fn default() -> Containerd
Returns the “default value” for a type. Read more
Source§impl PartialEq for Containerd
impl PartialEq for Containerd
Source§impl Serialize for Containerd
impl Serialize for Containerd
impl StructuralPartialEq for Containerd
Auto Trait Implementations§
impl Freeze for Containerd
impl RefUnwindSafe for Containerd
impl Send for Containerd
impl Sync for Containerd
impl Unpin for Containerd
impl UnwindSafe for Containerd
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