[][src]Struct logtea::fill::FillLogArg

pub struct FillLogArg<T> where
    T: Send + Debug + Sized + 'static, 
{ /* fields omitted */ }

Ingredient params for FillLogTea.

Methods

impl<T> FillLogArg<T> where
    T: Send + Debug + Sized + 'static, 
[src]

pub fn new(
    filepath: &str,
    batch_size: usize,
    parser: fn(_: &str) -> IResult<&str, T>
) -> FillLogArg<T>
[src]

Returns a FillLogArg to be used as params in FillLogTea.

Arguments

  • filepath - filepath for log file to load.
  • batch_size - number of lines to process at a time.
  • parser - nom parser to parse data from lines

Trait Implementations

impl<T> Argument for FillLogArg<T> where
    T: Send + Debug + Sized + 'static, 
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for FillLogArg<T>

impl<T> Send for FillLogArg<T>

impl<T> Sync for FillLogArg<T>

impl<T> Unpin for FillLogArg<T>

impl<T> UnwindSafe for FillLogArg<T>

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.