pub trait Contextual {
// Required method
fn context(&self) -> Context;
}Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<L: Contextual> Contextual for LaneGuard<L>
impl<P: Protocol> Contextual for LocalServiceLane<P>
r[impl jetstream.session.local] An in-process session authenticates nothing, so the callee sees an empty context rather than a fabricated identity.
impl<P: Protocol> Contextual for NoServiceLane<P>
impl<U> Contextual for Framed<TcpStream, U>
Available on
native only.impl<U> Contextual for Framed<TcpStream, U>
Available on crate feature
turmoil only.impl<U> Contextual for Framed<UnixStream, U>
Available on
tokio_unix only.