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§
Sourcefn listen_safe(
&mut self,
request: Request<ListenSafe, ___T>,
) -> impl Future<Output = ()>
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.