pub struct PendingSuspension {
pub node_id: NodeId,
pub waiting_inputs: Vec<PortIndex>,
pub payload: Value,
}Expand description
Single record of a suspended node waiting for external inputs.
Fields§
§node_id: NodeIdThe node that requested suspension.
waiting_inputs: Vec<PortIndex>Explicit indices of inputs that must be provided to resume.
payload: ValueArbitrary context parameters passed back to the host application.
Trait Implementations§
Source§impl Clone for PendingSuspension
impl Clone for PendingSuspension
Source§impl Debug for PendingSuspension
impl Debug for PendingSuspension
Source§impl<'de> Deserialize<'de> for PendingSuspension
impl<'de> Deserialize<'de> for PendingSuspension
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 PendingSuspension
impl RefUnwindSafe for PendingSuspension
impl Send for PendingSuspension
impl Sync for PendingSuspension
impl Unpin for PendingSuspension
impl UnsafeUnpin for PendingSuspension
impl UnwindSafe for PendingSuspension
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