Struct gain_listener::Acceptor [−][src]
pub struct Acceptor { pub addr: Binding, // some fields omitted }
Expand description
Connection acceptor.
Fields
addr: Binding
Implementations
Accept a client connection. An AcceptErrorKind::Closed
error may be
caused by the associated CloseStream
, or other environmental reasons.
Auto Trait Implementations
impl !RefUnwindSafe for Acceptor
impl !UnwindSafe for Acceptor