[go: up one dir, main page]

Trait expectrl::Needle[][src]

pub trait Needle {
    fn check(&self, buf: &[u8], eof: bool) -> Result<Vec<Match>, Error>;
}
Expand description

Needle an interface for search of a match in a buffer.

Required methods

Function returns all matches that were occured.

Implementations on Foreign Types

Implementors