[][src]Struct check_timed_logs_fast::Config

pub struct Config {
    pub interval_to_check: u64,
    pub search_pattern: String,
    pub logfile: String,
    pub max_critical_matches: u64,
    pub max_warning_matches: u64,
    pub date_pattern: String,
    pub timeposition: usize,
    pub debug: bool,
    pub verbose: bool,
    pub re: Regex,
}

Fields

interval_to_check: u64search_pattern: Stringlogfile: Stringmax_critical_matches: u64max_warning_matches: u64date_pattern: Stringtimeposition: usizedebug: boolverbose: boolre: Regex

Methods

impl Config
[src]

pub fn new(
    interval_to_check: u64,
    search_pattern: String,
    logfile: String,
    max_critical_matches: u64,
    max_warning_matches: u64,
    date_pattern: String,
    timeposition: usize,
    debug: bool,
    verbose: bool
) -> Result<Config, ConfigError>
[src]

Auto Trait Implementations

impl Send for Config

impl Sync for Config

Blanket Implementations

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

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[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, 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.

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