pub enum ReplacementNotification {
Requote(RequoteNotification),
DirectFill(DirectFillNotification),
Original(OriginalNotification),
}Expand description
What stood in for a historical swap, streamed over replacementSubscribe. Internally tagged
on kind: three mechanisms answer different questions - metis re-routing a whole transaction,
a probe re-pricing one hop, and the original replayed as its own baseline - so they carry
different shapes rather than one union.
Variants§
Trait Implementations§
Source§impl Clone for ReplacementNotification
impl Clone for ReplacementNotification
Source§impl Debug for ReplacementNotification
impl Debug for ReplacementNotification
Source§impl<'de> Deserialize<'de> for ReplacementNotification
impl<'de> Deserialize<'de> for ReplacementNotification
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
Auto Trait Implementations§
impl Freeze for ReplacementNotification
impl RefUnwindSafe for ReplacementNotification
impl Send for ReplacementNotification
impl Sync for ReplacementNotification
impl Unpin for ReplacementNotification
impl UnsafeUnpin for ReplacementNotification
impl UnwindSafe for ReplacementNotification
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