[−][src]Struct tmkms::KmsApplication
The tmkms
application
Methods
impl KmsApplication
[src]
impl KmsApplication
Trait Implementations
impl Debug for KmsApplication
[src]
impl Debug for KmsApplication
impl Application for KmsApplication
[src]
impl Application for KmsApplication
type Cmd = KmsCommand
Application (sub)command which serves as the main entry point
type Config = KmsConfig
Configuration type used by this application
fn logging_config(&self, command: &KmsCommand) -> LoggingConfig
[src]
fn logging_config(&self, command: &KmsCommand) -> LoggingConfig
fn config(&self) -> ConfigReader<Self::Config>
[src]
fn config(&self) -> ConfigReader<Self::Config>
Get a read lock on the application's global configuration
fn name(&self) -> &'static str
[src]
fn name(&self) -> &'static str
Name of this application as a string
fn description(&self) -> &'static str
[src]
fn description(&self) -> &'static str
Description of this application
fn version(&self) -> Version
[src]
fn version(&self) -> Version
Version of this application
Authors of this application
fn bin(&self) -> CanonicalPathBuf
[src]
fn bin(&self) -> CanonicalPathBuf
Path to this application's binary
fn color_config(&self, command: &Self::Cmd) -> ColorConfig
[src]
fn color_config(&self, command: &Self::Cmd) -> ColorConfig
Color configuration for this application
fn init(
&self,
command: &Self::Cmd
) -> Result<Components, Error<FrameworkErrorKind>>
[src]
fn init(
&self,
command: &Self::Cmd
) -> Result<Components, Error<FrameworkErrorKind>>
Load this application's configuration and initialize its components
fn components(
&self,
command: &Self::Cmd
) -> Result<Components, Error<FrameworkErrorKind>>
[src]
fn components(
&self,
command: &Self::Cmd
) -> Result<Components, Error<FrameworkErrorKind>>
Get this application's components
fn path(
&self,
path_type: ApplicationPath
) -> Result<CanonicalPathBuf, Error<FrameworkErrorKind>>
[src]
fn path(
&self,
path_type: ApplicationPath
) -> Result<CanonicalPathBuf, Error<FrameworkErrorKind>>
Get a path associated with this application
fn register(
&self,
component: &dyn Component
) -> Result<(), Error<FrameworkErrorKind>>
[src]
fn register(
&self,
component: &dyn Component
) -> Result<(), Error<FrameworkErrorKind>>
Register a componen\t with this application. By default do nothing.
fn unregister(
&self,
component: &dyn Component
) -> Result<(), Error<FrameworkErrorKind>>
[src]
fn unregister(
&self,
component: &dyn Component
) -> Result<(), Error<FrameworkErrorKind>>
Register a component with this application. By default do nothing.
fn shutdown(&self, components: Components) -> !
[src]
fn shutdown(&self, components: Components) -> !
Shut down this application gracefully, exiting with success
Auto Trait Implementations
impl Send for KmsApplication
impl Send for KmsApplication
impl Sync for KmsApplication
impl Sync for KmsApplication
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T> Same for T
impl<T> Same for T
type Output = T
Should always be Self