Struct systemctl_tui::components::logger::Logger
source · pub struct Logger { /* private fields */ }Trait Implementations§
source§impl Component for Logger
impl Component for Logger
fn init(&mut self, _: UnboundedSender<Action>) -> Result<()>
fn render(&mut self, f: &mut Frame<'_>, rect: Rect)
fn handle_events(&mut self, event: Option<Event>) -> Vec<Action>
fn handle_key_events(&mut self, key: KeyEvent) -> Vec<Action>
fn handle_mouse_events(&mut self, mouse: MouseEvent) -> Vec<Action>
fn dispatch(&mut self, action: Action) -> Option<Action>
Auto Trait Implementations§
impl !RefUnwindSafe for Logger
impl Send for Logger
impl Sync for Logger
impl Unpin for Logger
impl !UnwindSafe for Logger
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> 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>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.