Skip to main content

LogServerHandler

Trait LogServerHandler 

Source
pub trait LogServerHandler<___T: Transport = Channel> {
    // Required method
    fn listen_safe(
        &mut self,
        request: Request<ListenSafe, ___T>,
    ) -> impl Future<Output = ()> + Send;
}
Expand description

A server handler for the Log protocol.

See Log for more details.

Required Methods§

Source

fn listen_safe( &mut self, request: Request<ListenSafe, ___T>, ) -> impl Future<Output = ()> + Send

Dumps all cached logs by calling LogMany() in batches followed by Log() for each new log message. A null options indicates no filtering is requested.

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§