pub struct CliArguments { /* private fields */ }Expand description
Pulls overrides from std::env::args.
Implementations§
Source§impl CliArguments
impl CliArguments
pub fn new() -> CliArguments
pub fn with_priority(self, priority: u8) -> CliArguments
Sourcepub fn with_args<I, S>(self, args: I) -> CliArguments
pub fn with_args<I, S>(self, args: I) -> CliArguments
Provide a fixed set of arguments; useful for tests.
Trait Implementations§
Source§impl ConfigSource for CliArguments
impl ConfigSource for CliArguments
Source§fn load(&self) -> Result<ConfigNode, ConfigError>
fn load(&self) -> Result<ConfigNode, ConfigError>
Load configuration data from the source.
Source§impl Default for CliArguments
impl Default for CliArguments
Source§fn default() -> CliArguments
fn default() -> CliArguments
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CliArguments
impl RefUnwindSafe for CliArguments
impl Send for CliArguments
impl Sync for CliArguments
impl Unpin for CliArguments
impl UnsafeUnpin for CliArguments
impl UnwindSafe for CliArguments
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