pub struct TuiApp {
pub actor_id: String,
pub manifest_path: String,
pub start_time: DateTime<Utc>,
pub events: VecDeque<DisplayEvent>,
pub max_events: usize,
pub auto_scroll: bool,
pub lifecycle_events: Vec<LifecycleEvent>,
pub current_status: ActorStatus,
pub error_count: usize,
pub event_count: usize,
pub should_quit: bool,
pub paused: bool,
}Fields§
§actor_id: String§manifest_path: String§start_time: DateTime<Utc>§events: VecDeque<DisplayEvent>§max_events: usize§auto_scroll: bool§lifecycle_events: Vec<LifecycleEvent>§current_status: ActorStatus§error_count: usize§event_count: usize§should_quit: bool§paused: boolImplementations§
Source§impl TuiApp
impl TuiApp
pub fn new(actor_id: String, manifest_path: String) -> Self
pub fn add_event(&mut self, event: DisplayEvent)
pub fn add_lifecycle_event(&mut self, event: LifecycleEvent)
pub fn handle_management_response(&mut self, response: ManagementResponse)
pub fn toggle_pause(&mut self)
pub fn toggle_auto_scroll(&mut self)
pub fn quit(&mut self)
pub fn reset_events(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TuiApp
impl RefUnwindSafe for TuiApp
impl Send for TuiApp
impl Sync for TuiApp
impl Unpin for TuiApp
impl UnwindSafe for TuiApp
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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