pub trait Listener<S: Service>: Listener<In = S::Req, Out = S::Res> { }
Expand description
A listener for a specific service
This is just a trait alias for a transport::Listener
with the right types. It is used
to make it easier to specify the bounds of a listener that matches a specific
service.
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.