pub struct DecodeCheckpoint { /* private fields */ }Expand description
Immutable resource state from which independent decode tasks can start.
A resumed task owns its counters and arena. Its work does not charge the original context until that context accepts the task’s trace.
Implementations§
Source§impl DecodeCheckpoint
impl DecodeCheckpoint
Sourcepub fn resume<'a>(&self, arena: &'a DecodeArena) -> DecodeContext<'a>
pub fn resume<'a>(&self, arena: &'a DecodeArena) -> DecodeContext<'a>
Starts an independent task and records its resource operations.
Trait Implementations§
Source§impl Clone for DecodeCheckpoint
impl Clone for DecodeCheckpoint
Auto Trait Implementations§
impl Freeze for DecodeCheckpoint
impl RefUnwindSafe for DecodeCheckpoint
impl Send for DecodeCheckpoint
impl Sync for DecodeCheckpoint
impl Unpin for DecodeCheckpoint
impl UnsafeUnpin for DecodeCheckpoint
impl UnwindSafe for DecodeCheckpoint
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