Struct h2::proto::ping_pong::UserPingsInner
source · struct UserPingsInner {
state: AtomicUsize,
ping_task: AtomicWaker,
pong_task: AtomicWaker,
}
Fields§
§state: AtomicUsize
§ping_task: AtomicWaker
Task to wake up the main Connection
.
pong_task: AtomicWaker
Task to wake up share::PingPong::poll_pong
.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for UserPingsInner
impl Send for UserPingsInner
impl Sync for UserPingsInner
impl Unpin for UserPingsInner
impl UnwindSafe for UserPingsInner
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