[−][src]Struct abscissa::application::CliApplication
Abscissa CLI Application
Trait Implementations
impl Default for CliApplication
[src]
impl Debug for CliApplication
[src]
impl Application for CliApplication
[src]
type Cmd = EntryPoint<CliCommand>
Application (sub)command which serves as the main entry point.
type Cfg = CliConfig
Configuration type used by this application.
type Paths = StandardPaths
Paths to application resources,
fn config(&self) -> &CliConfig
[src]
fn state(&self) -> &State<Self>
[src]
fn state_mut(&mut self) -> &mut State<Self>
[src]
fn register_components(
&mut self,
command: &Self::Cmd
) -> Result<(), FrameworkError>
[src]
&mut self,
command: &Self::Cmd
) -> Result<(), FrameworkError>
fn after_config(&mut self, config: Self::Cfg) -> Result<(), FrameworkError>
[src]
fn logging_config(&self, command: &EntryPoint<CliCommand>) -> Config
[src]
fn run<I>(app_lock: &'static Lock<Self>, args: I) where
I: IntoIterator<Item = String>,
[src]
I: IntoIterator<Item = String>,
fn init(&mut self, command: &Self::Cmd) -> Result<(), Error<FrameworkErrorKind>>
[src]
fn framework_components(
&mut self,
command: &Self::Cmd
) -> Result<Vec<Box<dyn Component<Self> + 'static>>, Error<FrameworkErrorKind>>
[src]
&mut self,
command: &Self::Cmd
) -> Result<Vec<Box<dyn Component<Self> + 'static>>, Error<FrameworkErrorKind>>
fn load_config(
&mut self,
path: &Path
) -> Result<Self::Cfg, Error<FrameworkErrorKind>>
[src]
&mut self,
path: &Path
) -> Result<Self::Cfg, Error<FrameworkErrorKind>>
fn name(&self) -> &'static str
[src]
fn description(&self) -> &'static str
[src]
fn version(&self) -> Version
[src]
fn authors(&self) -> Vec<String>
[src]
fn term_colors(&self, command: &Self::Cmd) -> ColorChoice
[src]
fn handle_signal(
&mut self,
signal: Signal
) -> Result<(), Error<FrameworkErrorKind>>
[src]
&mut self,
signal: Signal
) -> Result<(), Error<FrameworkErrorKind>>
fn shutdown(&mut self, shutdown: Shutdown) -> !
[src]
Auto Trait Implementations
impl Send for CliApplication
impl Sync for CliApplication
impl Unpin for CliApplication
impl !UnwindSafe for CliApplication
impl !RefUnwindSafe for CliApplication
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsAny for T where
T: Any,
[src]
T: Any,