Skip to main content

Engine

Trait Engine 

Source
pub trait Engine {
    // Required method
    fn request(
        &self,
        method: &str,
        path: &str,
        body: Option<&Value>,
    ) -> Result<Reply>;
}
Expand description

Narrow Docker API port; cleanup never invokes global prune endpoints.

Required Methods§

Source

fn request( &self, method: &str, path: &str, body: Option<&Value>, ) -> Result<Reply>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§