pub struct Canceled;Expand description
The branch was canceled by a concurrent cancellation region.
§Representation
A zero-sized state marker Canceled that occupies 0 bytes of memory.
§Structure-only
Represents a static state indicating a branch was canceled. It carries no cancellation error context or cancellation signals.
§Graduation
In wasm4pm, cancellation propagates dynamically via signals to active tasks, aborting execution.
Here, cancellation is a static transition that consumes the token, preventing future completion.
Trait Implementations§
impl BranchState for Canceled
Auto Trait Implementations§
impl Freeze for Canceled
impl RefUnwindSafe for Canceled
impl Send for Canceled
impl Sync for Canceled
impl Unpin for Canceled
impl UnsafeUnpin for Canceled
impl UnwindSafe for Canceled
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