pub struct RerouteStatsReport {
pub swaps_rerouted: u64,
pub swaps_simulated: u64,
pub swaps_succeeded: u64,
pub requote_failures: u64,
}Expand description
High-level funnel for a reroute-order-flow session: how many detected swaps made it from re-quoting through simulation to a non-reverting execution. Per-swap economics and latency are session-internal and land in the analysis DB.
Fields§
§swaps_rerouted: u64Swaps re-quoted through metis and queued for simulation.
swaps_simulated: u64Swaps whose routed transaction was simulated.
swaps_succeeded: u64Simulated swaps whose routed transaction executed without reverting.
requote_failures: u64Detected swaps metis could not route; nothing was simulated for them.
Trait Implementations§
Source§impl Clone for RerouteStatsReport
impl Clone for RerouteStatsReport
Source§fn clone(&self) -> RerouteStatsReport
fn clone(&self) -> RerouteStatsReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RerouteStatsReport
impl Debug for RerouteStatsReport
Source§impl Default for RerouteStatsReport
impl Default for RerouteStatsReport
Source§fn default() -> RerouteStatsReport
fn default() -> RerouteStatsReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RerouteStatsReport
impl<'de> Deserialize<'de> for RerouteStatsReport
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RerouteStatsReport
Source§impl PartialEq for RerouteStatsReport
impl PartialEq for RerouteStatsReport
Source§impl Serialize for RerouteStatsReport
impl Serialize for RerouteStatsReport
impl StructuralPartialEq for RerouteStatsReport
Auto Trait Implementations§
impl Freeze for RerouteStatsReport
impl RefUnwindSafe for RerouteStatsReport
impl Send for RerouteStatsReport
impl Sync for RerouteStatsReport
impl Unpin for RerouteStatsReport
impl UnsafeUnpin for RerouteStatsReport
impl UnwindSafe for RerouteStatsReport
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