pub struct ProjectedHandler {
pub kind: HandlerKind,
pub message: String,
pub handler_name: String,
pub sequence: usize,
}Expand description
A projected handler for a single participant.
Fields§
§kind: HandlerKindWhat kind of handler this is.
message: StringThe message type involved (empty for Local).
handler_name: StringThe handler function name.
sequence: usizeOriginal sequence number from the choreography.
Trait Implementations§
Source§impl Clone for ProjectedHandler
impl Clone for ProjectedHandler
Source§fn clone(&self) -> ProjectedHandler
fn clone(&self) -> ProjectedHandler
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProjectedHandler
impl Debug for ProjectedHandler
Source§impl PartialEq for ProjectedHandler
impl PartialEq for ProjectedHandler
impl Eq for ProjectedHandler
impl StructuralPartialEq for ProjectedHandler
Auto Trait Implementations§
impl Freeze for ProjectedHandler
impl RefUnwindSafe for ProjectedHandler
impl Send for ProjectedHandler
impl Sync for ProjectedHandler
impl Unpin for ProjectedHandler
impl UnsafeUnpin for ProjectedHandler
impl UnwindSafe for ProjectedHandler
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.