Skip to main content

LogLocalServerHandler

Trait LogLocalServerHandler 

Source
pub trait LogLocalServerHandler<___T: Transport = Channel> {
    // Required method
    fn listen_safe(
        &mut self,
        request: Request<ListenSafe, ___T>,
    ) -> impl Future<Output = ()>;
}
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 = ()>

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.

Implementations on Foreign Types§

Source§

impl<___H, ___T> LogLocalServerHandler<___T> for Local<___H>
where ___H: LogServerHandler<___T>, ___T: Transport,

Source§

async fn listen_safe(&mut self, request: Request<ListenSafe, ___T>)

Implementors§