Struct ruri::model::Config[][src]

pub struct Config { /* fields omitted */ }

A Ruri config object, should be passed to check_files

Implementations

impl<'a> Config[src]

pub const FILE_PATHS: &'a str[src]

pub const IS_QUIET: &'a str[src]

pub const THREADS: &'a str[src]

pub fn new(matches: ArgMatches<'_>) -> Config[src]

Create a new Config based on clap::ArgMatches

pub fn file_paths(&self) -> &Vec<String>[src]

Borrow the file paths as a String Vec

pub fn is_quiet(&self) -> bool[src]

Is set as quiet

pub fn threads(&self) -> usize[src]

Get the requested thread count

Trait Implementations

impl Debug for Config[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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.

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.