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
Trait Implementations§
Auto Trait Implementations§
impl<E> !RefUnwindSafe for ControlMessage<E>
impl<E> !Send for ControlMessage<E>
impl<E> !Sync for ControlMessage<E>
impl<E> Unpin for ControlMessage<E>where
E: Unpin,
impl<E> !UnwindSafe for ControlMessage<E>
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