Struct wasmflow_boundary::IncomingPayload
source · [−]Expand description
A map of port name to payload message.
Implementations
sourceimpl<P, C> IncomingPayload<P, C> where
P: Debug + DeserializeOwned,
C: Debug + DeserializeOwned,
impl<P, C> IncomingPayload<P, C> where
P: Debug + DeserializeOwned,
C: Debug + DeserializeOwned,
sourcepub fn id(&self) -> u32
pub fn id(&self) -> u32
Get the transaction ID associated with this IncomingPayload.
sourcepub fn into_parts(self) -> (P, Option<C>)
pub fn into_parts(self) -> (P, Option<C>)
Get the state used for the next run of the job.
Trait Implementations
Auto Trait Implementations
impl<P, C> RefUnwindSafe for IncomingPayload<P, C> where
C: RefUnwindSafe,
P: RefUnwindSafe,
impl<P, C> Send for IncomingPayload<P, C> where
C: Send,
P: Send,
impl<P, C> Sync for IncomingPayload<P, C> where
C: Sync,
P: Sync,
impl<P, C> Unpin for IncomingPayload<P, C> where
C: Unpin,
P: Unpin,
impl<P, C> UnwindSafe for IncomingPayload<P, C> where
C: UnwindSafe,
P: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more