pub struct IncomingPayload<P, C>{ /* private fields */ }Expand description
A map of port name to payload message.
Implementations§
Source§impl<P, C> IncomingPayload<P, C>
impl<P, C> IncomingPayload<P, C>
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> Freeze for IncomingPayload<P, C>
impl<P, C> RefUnwindSafe for IncomingPayload<P, C>where
P: RefUnwindSafe,
C: RefUnwindSafe,
impl<P, C> Send for IncomingPayload<P, C>
impl<P, C> Sync for IncomingPayload<P, C>
impl<P, C> Unpin for IncomingPayload<P, C>
impl<P, C> UnwindSafe for IncomingPayload<P, C>where
P: UnwindSafe,
C: 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