pub enum DependencyType {
BlockedBy,
Produces,
ConflictsWith,
Reads,
Writes,
WaitsFor,
}Expand description
Type of dependency relationship between resources
Variants§
BlockedBy
A depends on B (A needs B to complete first)
Produces
A produces B (completing A makes B available)
ConflictsWith
A and B conflict (cannot run concurrently)
Reads
A reads B (A needs B in consistent state)
Writes
A writes B (A will modify B)
WaitsFor
A waits for B (used in deadlock detection)
Trait Implementations§
Source§impl Clone for DependencyType
impl Clone for DependencyType
Source§fn clone(&self) -> DependencyType
fn clone(&self) -> DependencyType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DependencyType
impl Debug for DependencyType
Source§impl PartialEq for DependencyType
impl PartialEq for DependencyType
Source§fn eq(&self, other: &DependencyType) -> bool
fn eq(&self, other: &DependencyType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DependencyType
impl StructuralPartialEq for DependencyType
Auto Trait Implementations§
impl Freeze for DependencyType
impl RefUnwindSafe for DependencyType
impl Send for DependencyType
impl Sync for DependencyType
impl Unpin for DependencyType
impl UnsafeUnpin for DependencyType
impl UnwindSafe for DependencyType
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> Equivalent<K> for Q
impl<Q, K> Equivalent<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.