[−][src]Struct logtea::fill::FillLogArg
Ingredient params for FillLogTea.
Methods
impl<T> FillLogArg<T> where
T: Send + Debug + Sized + 'static,
[src]
T: Send + Debug + Sized + 'static,
pub fn new(
filepath: &str,
batch_size: usize,
parser: fn(_: &str) -> IResult<&str, T>
) -> FillLogArg<T>
[src]
filepath: &str,
batch_size: usize,
parser: fn(_: &str) -> IResult<&str, T>
) -> FillLogArg<T>
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
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,