pub trait Accepting: Send {
type Request: Request;
type Error: Error + Send + Sync + 'static;
// Required method
fn wait_accept(
self
) -> impl Future<Output = Result<Self::Request, Self::Error>> + Send;
}
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.