pub enum Entry {
Message(String),
Detail(String),
Artifact(Arc<dyn Artifact>),
}Expand description
User-facing representation of a single event
Entry is the projection’s public vocabulary for events. TUI consumers query the projection
and receive entries, never raw events. Each variant carries the same data as its corresponding
Event variant but uses Arc for artifact values so that entries can be cheaply cloned
when returned from queries.
Variants§
Message(String)
Informational message
Detail(String)
Supplementary detail
Artifact(Arc<dyn Artifact>)
Primary command output
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Entry
impl !UnwindSafe for Entry
impl Freeze for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
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