pub trait Source:
Send
+ Sync
+ 'static {
// Required methods
fn ping(&self) -> impl Future<Output = Probe> + Send;
fn list(&self) -> impl Future<Output = Result<Vec<Listed>, String>> + Send;
fn events(
&self,
) -> impl Future<Output = Result<BoxStream<'static, Result<DockerEvent, String>>, String>> + Send;
}Expand description
Where the containers are read from.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".