pub struct SubmitResult {
pub signature: Option<SignatureBytes>,
pub plan: SubmitPlan,
pub legacy_mode: Option<SubmitMode>,
pub first_success_route: Option<SubmitRoute>,
pub successful_routes: Vec<SubmitRoute>,
pub direct_target: Option<LeaderTarget>,
pub rpc_signature: Option<String>,
pub jito_signature: Option<String>,
pub jito_bundle_id: Option<String>,
pub used_fallback_route: bool,
pub selected_target_count: usize,
pub selected_identity_count: usize,
}Expand description
Summary of a successful submission.
Fields§
§signature: Option<SignatureBytes>Signature parsed from submitted transaction bytes.
plan: SubmitPlanRoute plan selected by caller.
legacy_mode: Option<SubmitMode>Legacy preset used by caller when one exact preset was selected.
first_success_route: Option<SubmitRoute>First successful route observed before this submit call returned.
successful_routes: Vec<SubmitRoute>Later background accepts from concurrently configured routes are counted by built-in
telemetry and are best-effort through TxSubmitOutcomeReporter, including any
route-specific acceptance metadata, rather than retroactively mutating this synchronous
result. Reporter delivery failures are reflected in
TxToxicFlowTelemetrySnapshot::reporter_outcomes_dropped and
TxToxicFlowTelemetrySnapshot::reporter_outcomes_unavailable.
direct_target: Option<LeaderTarget>Target chosen by direct path when applicable.
rpc_signature: Option<String>RPC-returned signature string when RPC path succeeded before return.
jito_signature: Option<String>Jito block-engine returned transaction signature when the JSON-RPC path succeeded before return.
jito_bundle_id: Option<String>Jito block-engine returned bundle UUID when the gRPC bundle path succeeded before return.
used_fallback_route: boolTrue when one later ordered-fallback route accepted the submit before return.
selected_target_count: usizeNumber of direct targets selected for submit attempt that succeeded.
selected_identity_count: usizeNumber of unique validator identities in selected direct targets.
Trait Implementations§
Source§impl Clone for SubmitResult
impl Clone for SubmitResult
Source§fn clone(&self) -> SubmitResult
fn clone(&self) -> SubmitResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SubmitResult
impl Debug for SubmitResult
Source§impl PartialEq for SubmitResult
impl PartialEq for SubmitResult
impl Eq for SubmitResult
impl StructuralPartialEq for SubmitResult
Auto Trait Implementations§
impl Freeze for SubmitResult
impl RefUnwindSafe for SubmitResult
impl Send for SubmitResult
impl Sync for SubmitResult
impl Unpin for SubmitResult
impl UnsafeUnpin for SubmitResult
impl UnwindSafe for SubmitResult
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