Enum h2::proto::ping_pong::ReceivedPing
source · pub(crate) enum ReceivedPing {
MustAck,
Unknown,
Shutdown,
}
Expand description
Status returned from PingPong::recv_ping
.
Variants§
Implementations§
source§impl ReceivedPing
impl ReceivedPing
pub(crate) fn is_shutdown(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ReceivedPing
impl Send for ReceivedPing
impl Sync for ReceivedPing
impl Unpin for ReceivedPing
impl UnwindSafe for ReceivedPing
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