pub enum ControlMessage<E> {
Publish(Publish),
Disconnect(Disconnect),
Error(Error<E>),
ProtocolError(ProtocolError),
Closed(Closed),
PeerGone(PeerGone),
}
Variants§
Publish(Publish)
Unhandled publish packet
Disconnect(Disconnect)
Disconnect packet
Error(Error<E>)
Application level error from resources and control services
ProtocolError(ProtocolError)
Protocol level error
Closed(Closed)
Connection closed
PeerGone(PeerGone)
Peer is gone