pub enum Action {
Start {
open: Option<StartupOpen>,
},
Event(AppEvent),
Frame {
columns: u16,
rows: u16,
},
Finish,
}Expand description
Every external step a replay reproduces. Event carries the shared
typed AppEvent (terminal input, paste, resize, quit intent, and every
completed worker/service result), so the live handler and the replayed
handler are one function.
Variants§
Start
The explicit start-services step after the seed, with an optional owned resource open. Local directories and remote resources share this path.
Fields
§
open: Option<StartupOpen>Event(AppEvent)
One external delivery, recorded at handler entry — before stale filters or acceptance decisions, so rejected results replay too.
Frame
One rendered frame: the dimensions are inputs, the canonical cell observation is checked inside the shared draw.
Finish
Deliberate shutdown: session persistence is requested here and its
terminal publication must land as an Event before the tape’s End.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Action
impl<'de> Deserialize<'de> for Action
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 !RefUnwindSafe for Action
impl !Sync for Action
impl !UnwindSafe for Action
impl Freeze for Action
impl Send for Action
impl Unpin for Action
impl UnsafeUnpin for Action
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