pub struct DebtCompletion(/* private fields */);Expand description
Validated completion restricted to clear, observer projection, or physical compaction.
Fields are private so DCR, marker delivery, PCP, DMR, and DCursor cannot be
smuggled through a detached attach or Leave completion.
Implementations§
Source§impl DebtCompletion
impl DebtCompletion
Sourcepub const fn observer_projection(
debt: ClosureDebt,
edge: ObserverProjection,
) -> Self
pub const fn observer_projection( debt: ClosureDebt, edge: ObserverProjection, ) -> Self
Selects an independent observer-projection successor under nonzero debt.
Sourcepub const fn physical_compaction(
debt: ClosureDebt,
edge: PhysicalCompaction,
) -> Self
pub const fn physical_compaction( debt: ClosureDebt, edge: PhysicalCompaction, ) -> Self
Selects an independent physical-compaction successor under nonzero debt.
Sourcepub const fn into_state(self) -> ClosureState
pub const fn into_state(self) -> ClosureState
Returns the validated closure state.
Trait Implementations§
Source§impl Clone for DebtCompletion
impl Clone for DebtCompletion
Source§fn clone(&self) -> DebtCompletion
fn clone(&self) -> DebtCompletion
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 moreimpl Copy for DebtCompletion
Source§impl Debug for DebtCompletion
impl Debug for DebtCompletion
impl Eq for DebtCompletion
Source§impl PartialEq for DebtCompletion
impl PartialEq for DebtCompletion
impl StructuralPartialEq for DebtCompletion
Auto Trait Implementations§
impl Freeze for DebtCompletion
impl RefUnwindSafe for DebtCompletion
impl Send for DebtCompletion
impl Sync for DebtCompletion
impl Unpin for DebtCompletion
impl UnsafeUnpin for DebtCompletion
impl UnwindSafe for DebtCompletion
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