pub struct AppRuntime {
pub last_command: Option<AppCommand>,
}Fields§
§last_command: Option<AppCommand>Implementations§
Source§impl AppRuntime
impl AppRuntime
pub fn record_command(&mut self, command: AppCommand)
pub fn run<E: ExchangeFacade<Error = ExchangeError>>( &mut self, app: &mut AppBootstrap<E>, command: AppCommand, ) -> Result<(), AppError>
Trait Implementations§
Source§impl Debug for AppRuntime
impl Debug for AppRuntime
Source§impl Default for AppRuntime
impl Default for AppRuntime
Source§fn default() -> AppRuntime
fn default() -> AppRuntime
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AppRuntime
impl RefUnwindSafe for AppRuntime
impl Send for AppRuntime
impl Sync for AppRuntime
impl Unpin for AppRuntime
impl UnsafeUnpin for AppRuntime
impl UnwindSafe for AppRuntime
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