pub struct EventLogReconcilePort<'a, P: EventAppender> { /* private fields */ }Expand description
把“结果未知,必须先对账”写成运行时事实的端口适配器(对账判定唯一口径在 qx-genglu 的 order_reconcile_verdict,本端口只落事实、不复制判定)。
Paper、CCXT 与 Binance worker 共用同一条写入路径:source_seq 由端口独占推进,
correlation id 形如 <worker>:<tag>:<client_order_id>(tag 默认 reconcile,
各 worker 用自己的分类标签以保持既有审计口径)。reason 不会进入事件载荷
(EventLog schema 不变),但必须非空,并在写入失败时随错误一起返回,避免
“未知结果”连原因都留不下。
Implementations§
Source§impl<'a, P: EventAppender> EventLogReconcilePort<'a, P>
impl<'a, P: EventAppender> EventLogReconcilePort<'a, P>
Auto Trait Implementations§
impl<'a, P> !UnwindSafe for EventLogReconcilePort<'a, P>
impl<'a, P> Forget for EventLogReconcilePort<'a, P>
impl<'a, P> Freeze for EventLogReconcilePort<'a, P>
impl<'a, P> Move for EventLogReconcilePort<'a, P>
impl<'a, P> RefUnwindSafe for EventLogReconcilePort<'a, P>where
&'a mut P: RefUnwindSafe,
impl<'a, P> Send for EventLogReconcilePort<'a, P>
impl<'a, P> Sync for EventLogReconcilePort<'a, P>
impl<'a, P> Unpin for EventLogReconcilePort<'a, P>
impl<'a, P> UnsafeUnpin for EventLogReconcilePort<'a, P>where
&'a mut P: UnsafeUnpin,
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