pub struct Options {
pub input: Option<PathBuf>,
pub symbol_field: String,
pub time_field: String,
pub group_field: Option<String>,
pub params: WatchParams,
pub checkpoint: Option<PathBuf>,
pub checkpoint_every: u64,
pub resume: bool,
pub skip_bad_lines: bool,
}Fields§
§input: Option<PathBuf>The file to read; standard input when absent.
symbol_field: String§time_field: String§group_field: Option<String>§params: WatchParams§checkpoint: Option<PathBuf>Where state is saved, and resumed from when resume is set.
checkpoint_every: u64Save after this many window reports.
resume: bool§skip_bad_lines: boolCount and pass over lines that cannot be read as events, instead of stopping.
Auto Trait Implementations§
impl Forget for Options
impl Freeze for Options
impl Move for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more