pub trait Listener<S>: Listener<In = <S as Service>::Req, Out = <S as Service>::Res>where
S: Service,{ }
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.