Enum ntex_h2::ControlMessage
source · pub enum ControlMessage<E> {
AppError(AppError<E>),
ConnectionError(ConnectionError),
GoAway(GoAway),
PeerGone(PeerGone),
Terminated(Terminated),
}
Variants§
AppError(AppError<E>)
Application level error from publish service
ConnectionError(ConnectionError)
Protocol level error
GoAway(GoAway)
Remote GoAway is received
PeerGone(PeerGone)
Peer is gone
Terminated(Terminated)
Protocol dispatcher is terminated
Implementations§
source§impl<E> ControlMessage<E>
impl<E> ControlMessage<E>
sourcepub fn ack(self) -> ControlResult
pub fn ack(self) -> ControlResult
Default ack impl