pub enum OverlayTarget {
State,
Verdict(Box<Evaluation>),
}Expand description
A modal overlay the TUI should paint on top of the current
mode. Same decoupling rationale as ModeTarget: dispatch
side-effects stay addressable without the command crate
depending on any widget types.
Variants§
State
Full-screen-ish state overview, sourced from the engine’s operator-state mirror (ADR-016). See Addendum A §2.3 for the semantic shape.
Verdict(Box<Evaluation>)
Gate-level verdict for a single coin, fetched from
GET /evaluate/{coin}. The payload is the engine’s
zero_engine_client::Evaluation so the overlay renders
exactly what the engine said, no local interpretation.
Implementations§
Trait Implementations§
Source§impl Clone for OverlayTarget
impl Clone for OverlayTarget
Source§fn clone(&self) -> OverlayTarget
fn clone(&self) -> OverlayTarget
Returns a duplicate of the value. Read more
1.0.0 · 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 OverlayTarget
impl Debug for OverlayTarget
Source§impl PartialEq for OverlayTarget
impl PartialEq for OverlayTarget
impl Eq for OverlayTarget
impl StructuralPartialEq for OverlayTarget
Auto Trait Implementations§
impl Freeze for OverlayTarget
impl RefUnwindSafe for OverlayTarget
impl Send for OverlayTarget
impl Sync for OverlayTarget
impl Unpin for OverlayTarget
impl UnsafeUnpin for OverlayTarget
impl UnwindSafe for OverlayTarget
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