pub enum DownstreamTaskDependency {
None,
DataDependency(DependencyRef, ArgumentIdx),
ControlDependency(DependencyRef),
ParentDependency(DependencyRef),
}Variants§
None
DataDependency(DependencyRef, ArgumentIdx)
ControlDependency(DependencyRef)
ParentDependency(DependencyRef)
Implementations§
source§impl DownstreamTaskDependency
impl DownstreamTaskDependency
pub fn is_none(&self) -> bool
pub fn is_parent_dependency(&self) -> bool
pub fn is_data_dependency(&self) -> bool
pub fn get_inner_ecb_id(&self) -> Option<EcbId>
pub fn parent_dependency_from(ecb_id: EcbId) -> Self
pub fn control_dependency_from(ecb_id: EcbId) -> Self
pub fn upgrade_to_ptr( &mut self, control_info: Arc<RwLock<ParkableControlBlock>> )
pub fn is_ptr(&self) -> bool
Trait Implementations§
source§impl Clone for DownstreamTaskDependency
impl Clone for DownstreamTaskDependency
source§fn clone(&self) -> DownstreamTaskDependency
fn clone(&self) -> DownstreamTaskDependency
Returns a copy of the value. Read more
1.0.0 · 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 DownstreamTaskDependency
impl Debug for DownstreamTaskDependency
source§impl From<DownstreamTaskDependency> for DownstreamTaskDependencyDef
impl From<DownstreamTaskDependency> for DownstreamTaskDependencyDef
source§fn from(value: DownstreamTaskDependency) -> Self
fn from(value: DownstreamTaskDependency) -> Self
Converts to this type from the input type.
source§impl Into<DownstreamTaskDependency> for DownstreamTaskDependencyDef
impl Into<DownstreamTaskDependency> for DownstreamTaskDependencyDef
source§fn into(self) -> DownstreamTaskDependency
fn into(self) -> DownstreamTaskDependency
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl !RefUnwindSafe for DownstreamTaskDependency
impl Send for DownstreamTaskDependency
impl Sync for DownstreamTaskDependency
impl Unpin for DownstreamTaskDependency
impl !UnwindSafe for DownstreamTaskDependency
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