pub struct TaskEvent {
pub client_id: ClientId,
pub session_id: SessionId,
pub operation_id: OperationId,
pub connection_id: Option<ConnectionId>,
pub source: TaskSource,
pub lane: MessageLane,
pub phase: OperationPhase,
pub delivery: DeliveryEvidence,
pub cause: TaskEndCause,
pub result: Result<TaskSuccess>,
}Expand description
Terminal event emitted for an admitted message or request operation.
Fields§
§client_id: ClientIdClient that owns the operation.
session_id: SessionIdLogical session that owns the operation.
operation_id: OperationIdIdentifier of this send or request operation.
connection_id: Option<ConnectionId>Physical connection associated with the operation, if one was bound.
source: TaskSourceOriginal message or request shared with observers.
lane: MessageLaneSend lane used by the operation.
phase: OperationPhaseProcessing phase immediately before the terminal result became effective.
delivery: DeliveryEvidenceStrongest delivery evidence known when the operation ended.
cause: TaskEndCauseCause that ended the operation.
result: Result<TaskSuccess>The single effective success or error result; success does not imply business acceptance by the peer.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TaskEvent
impl !UnwindSafe for TaskEvent
impl Forget for TaskEvent
impl Freeze for TaskEvent
impl Move for TaskEvent
impl Send for TaskEvent
impl Sync for TaskEvent
impl Unpin for TaskEvent
impl UnsafeUnpin for TaskEvent
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