pub struct TxSubmitOutcome {
pub kind: TxSubmitOutcomeKind,
pub signature: Option<SignatureBytes>,
pub route: Option<SubmitRoute>,
pub plan: SubmitPlan,
pub legacy_mode: Option<SubmitMode>,
pub rpc_signature: Option<String>,
pub jito_signature: Option<String>,
pub jito_bundle_id: Option<String>,
pub state_version: Option<u64>,
pub opportunity_age_ms: Option<u64>,
}Expand description
Structured outcome record for toxic-flow telemetry/reporting.
Route-level accepts may carry richer metadata than the synchronous SubmitResult when one
different route already returned first. Consumers that care about later accepts should observe
this surface rather than expecting the original SubmitResult to mutate.
Fields§
§kind: TxSubmitOutcomeKindOutcome classification.
signature: Option<SignatureBytes>Transaction signature when available.
route: Option<SubmitRoute>Concrete accepted route when the outcome came from one route-level success.
plan: SubmitPlanRoute plan selected for the submit attempt.
legacy_mode: Option<SubmitMode>Legacy preset used for the submit attempt when applicable.
rpc_signature: Option<String>RPC-returned signature metadata when the RPC route accepted.
jito_signature: Option<String>Jito-returned transaction signature metadata when the Jito route accepted.
jito_bundle_id: Option<String>Jito-returned bundle UUID when the gRPC bundle route accepted.
state_version: Option<u64>Current state version at outcome time when known.
opportunity_age_ms: Option<u64>Opportunity age in milliseconds when known.
Trait Implementations§
Source§impl Clone for TxSubmitOutcome
impl Clone for TxSubmitOutcome
Source§fn clone(&self) -> TxSubmitOutcome
fn clone(&self) -> TxSubmitOutcome
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TxSubmitOutcome
impl Debug for TxSubmitOutcome
Source§impl<'de> Deserialize<'de> for TxSubmitOutcome
impl<'de> Deserialize<'de> for TxSubmitOutcome
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for TxSubmitOutcome
impl PartialEq for TxSubmitOutcome
Source§impl Serialize for TxSubmitOutcome
impl Serialize for TxSubmitOutcome
impl Eq for TxSubmitOutcome
impl StructuralPartialEq for TxSubmitOutcome
Auto Trait Implementations§
impl Freeze for TxSubmitOutcome
impl RefUnwindSafe for TxSubmitOutcome
impl Send for TxSubmitOutcome
impl Sync for TxSubmitOutcome
impl Unpin for TxSubmitOutcome
impl UnsafeUnpin for TxSubmitOutcome
impl UnwindSafe for TxSubmitOutcome
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
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§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
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more