pub struct ActiveSnapshot {
pub node_name: String,
pub payload: Option<Value>,
}Expand description
Snapshot of one active task at an interrupt boundary. Used for point-of-interrupt resume.
Fields§
§node_name: StringThe node name to dispatch on resume.
payload: Option<Value>Per-target payload from Goto::Send, if any.
Trait Implementations§
Source§impl Clone for ActiveSnapshot
impl Clone for ActiveSnapshot
Source§fn clone(&self) -> ActiveSnapshot
fn clone(&self) -> ActiveSnapshot
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 moreSource§impl Debug for ActiveSnapshot
impl Debug for ActiveSnapshot
Source§impl<'de> Deserialize<'de> for ActiveSnapshot
impl<'de> Deserialize<'de> for ActiveSnapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ActiveSnapshot
impl RefUnwindSafe for ActiveSnapshot
impl Send for ActiveSnapshot
impl Sync for ActiveSnapshot
impl Unpin for ActiveSnapshot
impl UnsafeUnpin for ActiveSnapshot
impl UnwindSafe for ActiveSnapshot
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