Struct nando_support::epic_control::ParkableControlBlock
source · pub struct ParkableControlBlock {
pub control_block: ECB,
pub intent: NandoActivationIntent,
pub completed_tasks: HashSet<EcbId>,
pub status: TaskStatus,
pub cache_invalidation_tasks: Option<Vec<SpawnedTask>>,
}Fields§
§control_block: ECB§intent: NandoActivationIntent§completed_tasks: HashSet<EcbId>§status: TaskStatus§cache_invalidation_tasks: Option<Vec<SpawnedTask>>Implementations§
source§impl ParkableControlBlock
impl ParkableControlBlock
pub fn all_tasks_have_joined(&self) -> bool
pub fn add_completed_task(&mut self, completed_task_id: EcbId) -> bool
pub fn mark_completed(&mut self)
pub fn get_status(&self) -> TaskStatus
pub fn is_immediately_runnable(&self) -> bool
Trait Implementations§
source§impl Clone for ParkableControlBlock
impl Clone for ParkableControlBlock
source§fn clone(&self) -> ParkableControlBlock
fn clone(&self) -> ParkableControlBlock
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for ParkableControlBlock
impl Send for ParkableControlBlock
impl Sync for ParkableControlBlock
impl Unpin for ParkableControlBlock
impl !UnwindSafe for ParkableControlBlock
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