Skip to main content

LogSource

Trait LogSource 

Source
pub trait LogSource {
    // Required method
    fn logs_stream(
        &self,
        container_id: &str,
        tail: usize,
    ) -> impl Future<Output = Result<LogStream, EventsError>> + Send
       where Self: Sync;
}

Required Methods§

Source

fn logs_stream( &self, container_id: &str, tail: usize, ) -> impl Future<Output = Result<LogStream, EventsError>> + Send
where Self: Sync,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§