pub trait MatchPattern {
type MatchResult;
// Required method
fn perform_match(&self, haystack: &[u8]) -> Option<Self::MatchResult>;
}Expand description
Indicating types that can be used for wait_for_line matching.
pub trait MatchPattern {
type MatchResult;
// Required method
fn perform_match(&self, haystack: &[u8]) -> Option<Self::MatchResult>;
}Indicating types that can be used for wait_for_line matching.