Struct nando_support::epic_control::SpawnedTask
source · pub struct SpawnedTask {
pub id: EcbId,
pub intent: NandoActivationIntent,
pub parent_task: DownstreamTaskDependency,
pub downstream_dependents: Vec<DownstreamTaskDependency>,
pub upstream_control_dependencies: HashSet<EcbId>,
pub planning_context: PlanningContext,
}Fields§
§id: EcbId§intent: NandoActivationIntent§parent_task: DownstreamTaskDependency§downstream_dependents: Vec<DownstreamTaskDependency>§upstream_control_dependencies: HashSet<EcbId>§planning_context: PlanningContextImplementations§
source§impl SpawnedTask
impl SpawnedTask
pub fn new_top_level(id: EcbId, intent: &NandoActivationIntent) -> Self
pub fn get_associated_activation_id(&self) -> ActivationId
pub fn has_pending_control_dependencies(&self) -> bool
pub fn get_parent_as_downstream_dependency(&self) -> DownstreamTaskDependency
pub fn set_parent_task(&mut self, parent_task: EcbId)
pub fn into_ecb(self) -> ECB
pub fn should_notify_parent(&self) -> bool
pub fn is_schedulable(&self) -> bool
pub fn new_whomstone_task( spawner_id: EcbId, object_arg: Option<NandoArgument>, is_cache: bool ) -> Self
pub fn new_whomstone_multi_task( spawner_id: EcbId, object_refs_arg: NandoArgument ) -> Self
pub fn include_move(&mut self)
pub fn add_pre_whomstone(&mut self, arg_idx: usize) -> SpawnedTask
pub fn add_pre_whomstone_for_object(&mut self, object_iptr: IPtr) -> SpawnedTask
pub fn add_new_control_dependency(&mut self, control_dependency: EcbId)
pub fn add_new_upstream_dependency(&mut self, upstream_dependency: EcbId)
pub fn remove_upstream_dependency(&mut self, upstream_dependency: &EcbId)
pub fn set_intent_host_idx(&mut self, host_idx: HostIdx)
pub fn add_downstream_data_dependency( &mut self, downstream_dependency: &mut Self )
pub fn downgrade_parent_dependency(&mut self)
Trait Implementations§
source§impl Clone for SpawnedTask
impl Clone for SpawnedTask
source§fn clone(&self) -> SpawnedTask
fn clone(&self) -> SpawnedTask
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 SpawnedTask
impl Debug for SpawnedTask
source§impl From<&SpawnedTask> for ECB
impl From<&SpawnedTask> for ECB
source§fn from(value: &SpawnedTask) -> Self
fn from(value: &SpawnedTask) -> Self
Converts to this type from the input type.
source§impl From<&SpawnedTask> for SpawnedTaskSerializable
impl From<&SpawnedTask> for SpawnedTaskSerializable
source§fn from(value: &SpawnedTask) -> Self
fn from(value: &SpawnedTask) -> Self
Converts to this type from the input type.
source§impl From<&SpawnedTaskSerializable> for SpawnedTask
impl From<&SpawnedTaskSerializable> for SpawnedTask
source§fn from(value: &SpawnedTaskSerializable) -> Self
fn from(value: &SpawnedTaskSerializable) -> Self
Converts to this type from the input type.
source§impl From<&mut SpawnedTask> for ECB
impl From<&mut SpawnedTask> for ECB
source§fn from(value: &mut SpawnedTask) -> Self
fn from(value: &mut SpawnedTask) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SpawnedTask
impl Send for SpawnedTask
impl Sync for SpawnedTask
impl Unpin for SpawnedTask
impl !UnwindSafe for SpawnedTask
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