pub struct ExchangeOutcome {
pub exchange_id: ExchangeId,
pub connection_id: ConnectionId,
pub interpretation_id: InterpretationId,
pub external_session_id: Option<ExternalSessionId>,
pub units: Vec<CanonicalUnitEvent>,
pub connection_end: ConnectionEnd,
pub interpretation_end: InterpretationEnd,
pub failure: Option<ExchangeFailure>,
}Expand description
Result of one exchange cycle.
Fields§
§exchange_id: ExchangeIdExchange identity.
connection_id: ConnectionIdConnection identity.
interpretation_id: InterpretationIdInterpretation identity.
external_session_id: Option<ExternalSessionId>Authoritative external session id from open (create/load), if any.
units: Vec<CanonicalUnitEvent>Complete canonical unit events observed (not Ended).
connection_end: ConnectionEndConnector terminal.
interpretation_end: InterpretationEndInterpretation terminal.
failure: Option<ExchangeFailure>Mapped transaction failure kind, if any.
Auto Trait Implementations§
impl Freeze for ExchangeOutcome
impl RefUnwindSafe for ExchangeOutcome
impl Send for ExchangeOutcome
impl Sync for ExchangeOutcome
impl Unpin for ExchangeOutcome
impl UnsafeUnpin for ExchangeOutcome
impl UnwindSafe for ExchangeOutcome
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