pub trait ConnectionExt<'a>: Connection {
// Provided methods
fn append_log(
&'a mut self,
subject: &'a str,
module: &'a str,
msg: &'a [u8],
) -> Self::Invoke<'a, ()> { ... }
fn tail_logs(
&'a mut self,
subject: &'a str,
n: usize,
) -> Self::Invoke<'a, Vec<LogRecord>> { ... }
}Expand description
An extension trait to provide invocation for conventional extapi.* APIs.
Provided Methods§
fn append_log( &'a mut self, subject: &'a str, module: &'a str, msg: &'a [u8], ) -> Self::Invoke<'a, ()>
fn tail_logs( &'a mut self, subject: &'a str, n: usize, ) -> Self::Invoke<'a, Vec<LogRecord>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".