[][src]Struct sisterm::setting::Params

pub struct Params {
    pub port: Option<String>,
    pub speed: Option<String>,
    pub crlf: bool,
    pub read_buf_size: usize,
    pub tcp_connect_timeout: u64,
    pub timestamp_format: String,
    pub debug: bool,
    pub timestamp: bool,
    pub auto_save_log: bool,
    pub log_format: String,
    pub log_destination: String,
    pub syntaxes: Vec<SyntaxDefinition>,
}

Fields

port: Option<String>speed: Option<String>crlf: boolread_buf_size: usizetcp_connect_timeout: u64timestamp_format: Stringdebug: booltimestamp: boolauto_save_log: boollog_format: Stringlog_destination: Stringsyntaxes: Vec<SyntaxDefinition>

Implementations

impl Params[src]

pub fn new(config_file: &str) -> Option<Self>[src]

Auto Trait Implementations

impl !RefUnwindSafe for Params

impl Send for Params

impl Sync for Params

impl Unpin for Params

impl UnwindSafe for Params

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.