pub struct SentinelNode { /* private fields */ }Expand description
Placeholder node for entry/exit points
Implementations§
Trait Implementations§
Source§impl<S: StateSchema> GraphNode<S> for SentinelNode
impl<S: StateSchema> GraphNode<S> for SentinelNode
Source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
_state: &'life1 S,
_config: Option<NodeConfig>,
) -> Pin<Box<dyn Future<Output = Result<StateUpdate<S>, GraphError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
_state: &'life1 S,
_config: Option<NodeConfig>,
) -> Pin<Box<dyn Future<Output = Result<StateUpdate<S>, GraphError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Execute the node Read more
Auto Trait Implementations§
impl Freeze for SentinelNode
impl RefUnwindSafe for SentinelNode
impl Send for SentinelNode
impl Sync for SentinelNode
impl Unpin for SentinelNode
impl UnsafeUnpin for SentinelNode
impl UnwindSafe for SentinelNode
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