pub struct DurableWaitSet {
pub mode: WaitMode,
pub conditions: Vec<WaitCondition>,
pub satisfied: BTreeSet<usize>,
}Expand description
The durable half of a task wait. WaitIndex can always be rebuilt from wait_set; partial
All progress cannot, so the satisfied condition indexes live on the TCB and in checkpoints.
Fields§
§mode: WaitMode§conditions: Vec<WaitCondition>§satisfied: BTreeSet<usize>Trait Implementations§
Source§impl Clone for DurableWaitSet
impl Clone for DurableWaitSet
Source§fn clone(&self) -> DurableWaitSet
fn clone(&self) -> DurableWaitSet
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 DurableWaitSet
impl Debug for DurableWaitSet
Source§impl<'de> Deserialize<'de> for DurableWaitSet
impl<'de> Deserialize<'de> for DurableWaitSet
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DurableWaitSet
Source§impl From<WaitSet> for DurableWaitSet
impl From<WaitSet> for DurableWaitSet
Source§impl PartialEq for DurableWaitSet
impl PartialEq for DurableWaitSet
Source§impl Serialize for DurableWaitSet
impl Serialize for DurableWaitSet
impl StructuralPartialEq for DurableWaitSet
Auto Trait Implementations§
impl Freeze for DurableWaitSet
impl RefUnwindSafe for DurableWaitSet
impl Send for DurableWaitSet
impl Sync for DurableWaitSet
impl Unpin for DurableWaitSet
impl UnsafeUnpin for DurableWaitSet
impl UnwindSafe for DurableWaitSet
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