pub struct ResumeStep {
pub value_expr: String,
pub loc: Loc,
}Expand description
resume() / resume(value) — invoke the captured one-shot continuation.
Legal only inside a handler clause body (D2, and the parser enforces it).
Fields§
§value_expr: StringThe resumed value, verbatim. Empty ⇒ resume() ⇒ Unit.
loc: LocTrait Implementations§
Auto Trait Implementations§
impl Freeze for ResumeStep
impl RefUnwindSafe for ResumeStep
impl Send for ResumeStep
impl Sync for ResumeStep
impl Unpin for ResumeStep
impl UnsafeUnpin for ResumeStep
impl UnwindSafe for ResumeStep
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