pub struct Tui { /* private fields */ }Implementations§
Source§impl Tui
impl Tui
pub fn new() -> Self
Sourcepub fn with_replay(self, events: Vec<Event>) -> Self
pub fn with_replay(self, events: Vec<Event>) -> Self
Launch the TUI as a replay scrubber over a recorded transcript. ←/→ step through events; Home/End jump to start/end.
Sourcepub fn agent_matches(&self) -> Vec<String>
pub fn agent_matches(&self) -> Vec<String>
@<name> agent picker: returns owned strings prefixed with @. Separate
from the slash autocomplete because the candidate list is dynamic.
Sourcepub fn with_agents(self, names: Vec<String>) -> Self
pub fn with_agents(self, names: Vec<String>) -> Self
Populate the @<name> agent picker with the agents the host knows about.
pub fn with_channels( self, task_tx: UnboundedSender<String>, event_rx: UnboundedReceiver<Event>, ) -> Self
pub fn push_event(&mut self, event: Event)
pub fn run(&mut self) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tui
impl RefUnwindSafe for Tui
impl Send for Tui
impl Sync for Tui
impl Unpin for Tui
impl UnsafeUnpin for Tui
impl UnwindSafe for Tui
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more