Trait embedded_svc::ws::server::Acceptor
source · pub trait Acceptor: ErrorType {
type Connection<'a>: Sender<Error = Self::Error> + Receiver<Error = Self::Error>
where Self: 'a;
// Required method
fn accept(&self) -> Result<Self::Connection<'_>, Self::Error>;
}
Required Associated Types§
type Connection<'a>: Sender<Error = Self::Error> + Receiver<Error = Self::Error> where Self: 'a
Required Methods§
fn accept(&self) -> Result<Self::Connection<'_>, Self::Error>
Object Safety§
This trait is not object safe.