Enum zeromq::SocketEvent
source · pub enum SocketEvent {
Connected(Endpoint, PeerIdentity),
ConnectDelayed,
ConnectRetried,
Listening(Endpoint),
Accepted(Endpoint, PeerIdentity),
AcceptFailed(ZmqError),
Closed,
CloseFailed,
Disconnected(PeerIdentity),
}
Variants§
Connected(Endpoint, PeerIdentity)
ConnectDelayed
ConnectRetried
Listening(Endpoint)
Accepted(Endpoint, PeerIdentity)
AcceptFailed(ZmqError)
Closed
CloseFailed
Disconnected(PeerIdentity)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SocketEvent
impl Send for SocketEvent
impl Sync for SocketEvent
impl Unpin for SocketEvent
impl !UnwindSafe for SocketEvent
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more