pub struct DockerRuntime { /* private fields */ }Expand description
Docker runtime with lightweight container isolation.
Implementations§
Source§impl DockerRuntime
impl DockerRuntime
pub fn new(config: DockerRuntimeConfig) -> Self
Trait Implementations§
Source§impl Clone for DockerRuntime
impl Clone for DockerRuntime
Source§fn clone(&self) -> DockerRuntime
fn clone(&self) -> DockerRuntime
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 DockerRuntime
impl Debug for DockerRuntime
Source§impl RuntimeAdapter for DockerRuntime
impl RuntimeAdapter for DockerRuntime
Source§fn has_shell_access(&self) -> bool
fn has_shell_access(&self) -> bool
Report whether this runtime supports shell command execution. Read more
Source§fn has_filesystem_access(&self) -> bool
fn has_filesystem_access(&self) -> bool
Report whether this runtime supports filesystem read/write. Read more
Source§fn storage_path(&self) -> PathBuf
fn storage_path(&self) -> PathBuf
Return the base directory for persistent storage on this runtime. Read more
Source§fn supports_long_running(&self) -> bool
fn supports_long_running(&self) -> bool
Report whether this runtime supports long-running background processes. Read more
Source§fn memory_budget(&self) -> u64
fn memory_budget(&self) -> u64
Return the maximum memory budget in bytes for this runtime. Read more
Auto Trait Implementations§
impl Freeze for DockerRuntime
impl RefUnwindSafe for DockerRuntime
impl Send for DockerRuntime
impl Sync for DockerRuntime
impl Unpin for DockerRuntime
impl UnsafeUnpin for DockerRuntime
impl UnwindSafe for DockerRuntime
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