[][src]Struct pacman::config::PacmanConfig

pub struct PacmanConfig {
    pub root_dir: String,
    pub db_path: String,
    pub cashe_dir: Vec<String>,
    pub hook_dir: Vec<String>,
    pub log_file: String,
    pub hold_pkg: Vec<String>,
    pub ignore_pkg: Vec<String>,
    pub ignore_group: Vec<String>,
    pub architecture: String,
    pub xfer_command: String,
    pub no_upgrade: Vec<String>,
    pub no_extract: Vec<String>,
    pub clean_method: Vec<String>,
    pub sig_level: Vec<String>,
    pub local_file_sig_level: Vec<String>,
    pub remote_file_sig_level: Vec<String>,
    pub use_syslog: bool,
    pub color: bool,
    pub use_delta: f64,
    pub total_download: bool,
    pub check_space: bool,
    pub verbose_pkg_list: bool,
    pub disable_download_timeout: bool,
    pub repos: Vec<Repository>,
}

Fields

root_dir: Stringdb_path: Stringcashe_dir: Vec<String>hook_dir: Vec<String>log_file: Stringhold_pkg: Vec<String>ignore_pkg: Vec<String>ignore_group: Vec<String>architecture: Stringxfer_command: Stringno_upgrade: Vec<String>no_extract: Vec<String>clean_method: Vec<String>sig_level: Vec<String>local_file_sig_level: Vec<String>remote_file_sig_level: Vec<String>use_syslog: boolcolor: booluse_delta: f64total_download: boolcheck_space: boolverbose_pkg_list: booldisable_download_timeout: boolrepos: Vec<Repository>

Methods

impl PacmanConfig[src]

pub fn parse(raw_cfg: &str) -> Self[src]

pub fn repo(&self, name: &str) -> Option<&Repository>[src]

Trait Implementations

impl Default for PacmanConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.