pub struct ContinuationLedger<Address> { /* private fields */ }Implementations§
Source§impl<Address> ContinuationLedger<Address>
impl<Address> ContinuationLedger<Address>
pub fn try_new( capacity: Capacity, ) -> Result<Self, ContinuationLedgerCreationError<Address>>
pub const fn capacity(&self) -> Capacity
pub const fn len(&self) -> usize
pub const fn is_empty(&self) -> bool
pub fn admit<'message, Worker>(
&mut self,
return_to: Address,
owed: Owed<Worker::In<'message>>,
) -> ContinuationAdmissionOutcome<'message, Address, Worker>where
Worker: Participant,
pub fn resolve<'message, Worker>(
&mut self,
completion: CancelledContinuationCompletion<'message, Worker>,
) -> ContinuationResolutionOutcome<'message, Address, Worker>where
Worker: Participant,
pub fn refuse<'message, Worker>(
&mut self,
refusal: ContinuationArmRefusal<'message, Worker>,
) -> ContinuationRefusalOutcome<'message, Address, Worker>where
Worker: Participant,
pub fn retract<'message, Worker>(
&mut self,
work: CancelledContinuationWork<'message, Worker>,
) -> ContinuationRetractionOutcome<'message, Address, Worker>where
Worker: Participant,
pub fn expire( &mut self, token: TimerToken, ) -> ContinuationExpirationOutcome<Address>
Auto Trait Implementations§
impl<Address> Freeze for ContinuationLedger<Address>
impl<Address> RefUnwindSafe for ContinuationLedger<Address>where
WarpTable<PendingContinuation<Address>>: RefUnwindSafe,
impl<Address> Send for ContinuationLedger<Address>
impl<Address> Sync for ContinuationLedger<Address>
impl<Address> Unpin for ContinuationLedger<Address>
impl<Address> UnsafeUnpin for ContinuationLedger<Address>where
WarpTable<PendingContinuation<Address>>: UnsafeUnpin,
impl<Address> UnwindSafe for ContinuationLedger<Address>where
WarpTable<PendingContinuation<Address>>: UnwindSafe,
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