pub struct ConsoleActor { /* private fields */ }Implementations§
Source§impl ConsoleActor
impl ConsoleActor
pub fn new(order: Vec<String>, timestamp: bool) -> Self
pub fn up(&mut self, shift: u16)
pub fn down(&mut self, shift: u16)
pub fn get_log_height(&mut self) -> u16
pub fn go_to(&mut self, panel_index: usize)
pub fn idx(&self) -> usize
pub fn next(&mut self)
pub fn previous(&mut self)
Trait Implementations§
Source§impl Actor for ConsoleActor
impl Actor for ConsoleActor
Source§type Context = Context<ConsoleActor>
type Context = Context<ConsoleActor>
Actor execution context type
Source§fn started(&mut self, ctx: &mut Context<Self>)
fn started(&mut self, ctx: &mut Context<Self>)
Called when an actor gets polled the first time.
Source§fn stopping(&mut self, ctx: &mut Self::Context) -> Running
fn stopping(&mut self, ctx: &mut Self::Context) -> Running
Called after an actor is in
Actor::Stopping state. Read moreSource§fn start_in_arbiter<F>(wrk: &ArbiterHandle, f: F) -> Addr<Self>
fn start_in_arbiter<F>(wrk: &ArbiterHandle, f: F) -> Addr<Self>
Start new actor in arbiter’s thread.
Source§impl Handler<Output> for ConsoleActor
impl Handler<Output> for ConsoleActor
Source§impl Handler<PanelStatus> for ConsoleActor
impl Handler<PanelStatus> for ConsoleActor
Source§impl Handler<RegisterPanel> for ConsoleActor
impl Handler<RegisterPanel> for ConsoleActor
Auto Trait Implementations§
impl Freeze for ConsoleActor
impl !RefUnwindSafe for ConsoleActor
impl Send for ConsoleActor
impl Sync for ConsoleActor
impl Unpin for ConsoleActor
impl !UnwindSafe for ConsoleActor
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> 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