struct PacketQueueState<K, T> {
phase: PacketPhase,
lanes: FxHashMap<K, PacketLane<T>>,
player_local_ready: BinaryHeap<Reverse<(u64, K)>>,
serialized_ready: BinaryHeap<Reverse<(u64, K)>>,
exclusive_ready: BinaryHeap<Reverse<(u64, K)>>,
serialized: BinaryHeap<Reverse<u64>>,
exclusive: BinaryHeap<Reverse<u64>>,
next_sequence: u64,
active: usize,
serialized_active: bool,
exclusive_active: bool,
completed: u64,
}Fields§
§phase: PacketPhase§lanes: FxHashMap<K, PacketLane<T>>§player_local_ready: BinaryHeap<Reverse<(u64, K)>>§serialized_ready: BinaryHeap<Reverse<(u64, K)>>§exclusive_ready: BinaryHeap<Reverse<(u64, K)>>§serialized: BinaryHeap<Reverse<u64>>§exclusive: BinaryHeap<Reverse<u64>>§next_sequence: u64§active: usize§serialized_active: bool§exclusive_active: bool§completed: u64Auto Trait Implementations§
impl<K, T> Freeze for PacketQueueState<K, T>
impl<K, T> RefUnwindSafe for PacketQueueState<K, T>where
K: RefUnwindSafe,
T: RefUnwindSafe,
impl<K, T> Send for PacketQueueState<K, T>
impl<K, T> Sync for PacketQueueState<K, T>
impl<K, T> Unpin for PacketQueueState<K, T>
impl<K, T> UnsafeUnpin for PacketQueueState<K, T>
impl<K, T> UnwindSafe for PacketQueueState<K, T>where
K: UnwindSafe,
T: UnwindSafe,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreWraps this value in an
Arc<SyncMutex<>>