Enum hcklib::core::HckInput[][src]

pub enum HckInput<P: AsRef<Path>> {
    Stdin,
    Path(P),
}
Expand description

The input types that hck can parse.

Variants

Stdin
Path(P)

Implementations

Read the first line of an input and return it.

It’s up to the user to make sure that any consumed bytes are properly handed off to the line parsers later on.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.