Struct pepper::Args[][src]

pub struct Args {
    pub version: bool,
    pub session: Option<String>,
    pub print_session: bool,
    pub as_client: Option<ClientHandle>,
    pub server: bool,
    pub configs: Vec<ArgsConfig>,
    pub no_default_config: bool,
    pub files: Vec<String>,
}

Fields

version: boolsession: Option<String>print_session: boolas_client: Option<ClientHandle>server: boolconfigs: Vec<ArgsConfig>no_default_config: boolfiles: Vec<String>

Implementations

impl Args[src]

pub fn parse() -> Self[src]

Trait Implementations

impl Default for Args[src]

fn default() -> Args[src]

Returns the “default value” for a type. Read more

Auto Trait Implementations

impl RefUnwindSafe for Args

impl Send for Args

impl Sync for Args

impl Unpin for Args

impl UnwindSafe for Args

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.