pub struct DelayNode<T> {
pub duration_ms: u64,
pub _marker: PhantomData<T>,
}Fields§
§duration_ms: u64§_marker: PhantomData<T>Implementations§
Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for DelayNode<T>
impl<'de, T> Deserialize<'de> for DelayNode<T>
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
Source§impl<T> JsonSchema for DelayNode<T>
impl<T> JsonSchema for DelayNode<T>
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl<T> Transition<T, T> for DelayNode<T>
impl<T> Transition<T, T> for DelayNode<T>
Source§type Error = Infallible
type Error = Infallible
Domain-specific error type (e.g., AuthError, ValidationError)
Source§type Resources = ()
type Resources = ()
The type of resources required by this transition.
This follows the “Hard-Wired Types” principle from the Master Plan.
Source§fn run<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
input: T,
_resources: &'life1 Self::Resources,
_bus: &'life2 mut Bus,
) -> Pin<Box<dyn Future<Output = Outcome<T, Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn run<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
input: T,
_resources: &'life1 Self::Resources,
_bus: &'life2 mut Bus,
) -> Pin<Box<dyn Future<Output = Outcome<T, Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Execute the transition. Read more
Source§fn description(&self) -> Option<String>
fn description(&self) -> Option<String>
Returns a detailed description of what this transition does.
Auto Trait Implementations§
impl<T> Freeze for DelayNode<T>
impl<T> RefUnwindSafe for DelayNode<T>where
T: RefUnwindSafe,
impl<T> Send for DelayNode<T>where
T: Send,
impl<T> Sync for DelayNode<T>where
T: Sync,
impl<T> Unpin for DelayNode<T>where
T: Unpin,
impl<T> UnwindSafe for DelayNode<T>where
T: UnwindSafe,
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