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 !Freeze for SocketEvent
impl !RefUnwindSafe for SocketEvent
impl !UnwindSafe for SocketEvent
impl Send for SocketEvent
impl Sync for SocketEvent
impl Unpin for SocketEvent
impl UnsafeUnpin 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