#[repr(u8)]pub enum EdgeKind {
Polls = 0,
WaitingOn = 1,
PairedWith = 2,
HeldBy = 3,
}Variants§
Polls = 0
Poll relationship (task/entity is actively polling another future/resource).
Example: parent future polls child future during one executor tick.
WaitingOn = 1
Waiting relationship (task/entity is blocked on another resource).
Example: receiver waits on channel rx.recv().await.
PairedWith = 2
Pairing relationship between two endpoints that form one logical primitive.
Example: channel sender paired with its corresponding receiver.
HeldBy = 3
Resource ownership/lease relationship (resource -> current holder).
Example: semaphore is held_by the holder of an acquired permit.
Trait Implementations§
Source§impl Ord for EdgeKind
impl Ord for EdgeKind
Source§impl PartialOrd for EdgeKind
impl PartialOrd for EdgeKind
impl Copy for EdgeKind
impl Eq for EdgeKind
impl StructuralPartialEq for EdgeKind
Auto Trait Implementations§
impl Freeze for EdgeKind
impl RefUnwindSafe for EdgeKind
impl Send for EdgeKind
impl Sync for EdgeKind
impl Unpin for EdgeKind
impl UnsafeUnpin for EdgeKind
impl UnwindSafe for EdgeKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.