pub trait Isolation:
Send
+ Sync
+ Debug {
// Required methods
fn name(&self) -> &'static str;
fn is_unsafe(&self) -> bool;
fn configure(&self, host_config: &mut HostConfig);
}Expand description
An isolation backend: how runner containers are created so their Docker Engine cannot reach the host.
Required Methods§
Sourcefn name(&self) -> &'static str
fn name(&self) -> &'static str
The name runnerd.toml uses, also put on the container’s runnerd.isolation label.
Sourcefn configure(&self, host_config: &mut HostConfig)
fn configure(&self, host_config: &mut HostConfig)
Sets the container’s runtime and privileges.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".