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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more