pub enum ReplayKind {
Prompt,
System,
Command,
Warn,
Alert,
}Expand description
Categorisation of a replayed event, stripped of the concrete
EventKind enum in zero-session. The dispatcher hands these
to the TUI which renders them through its own
[EntryKind-equivalent] palette.
Adding a variant here is a two-site change (this enum + the two translation sites in the runtime impl); leaving the surface narrow is worth the minor duplication.
Variants§
Trait Implementations§
Source§impl Clone for ReplayKind
impl Clone for ReplayKind
Source§fn clone(&self) -> ReplayKind
fn clone(&self) -> ReplayKind
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 ReplayKind
impl Debug for ReplayKind
Source§impl Hash for ReplayKind
impl Hash for ReplayKind
Source§impl PartialEq for ReplayKind
impl PartialEq for ReplayKind
impl Copy for ReplayKind
impl Eq for ReplayKind
impl StructuralPartialEq for ReplayKind
Auto Trait Implementations§
impl Freeze for ReplayKind
impl RefUnwindSafe for ReplayKind
impl Send for ReplayKind
impl Sync for ReplayKind
impl Unpin for ReplayKind
impl UnsafeUnpin for ReplayKind
impl UnwindSafe for ReplayKind
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