Module bstring::pattern [] [src]

The byte string Pattern API.

For more details, see the traits Pattern, Searcher, ReverseSearcher and DoubleEndedSearcher.

Structs

BytePredicateSearcher

Associated type for <F as Pattern<'a>>::Searcher.

ByteSearcher

Associated type for <u8 as Pattern<'a>>::Searcher.

ByteSliceSearcher

Associated type for <&[u8] as Pattern<'a>>::Searcher.

StrSearcher

Associated type for <&bstr as Pattern<'a>>::Searcher.

Enums

SearchStep

Result of calling Searcher::next() or ReverseSearcher::next_back().

Traits

DoubleEndedSearcher

A marker trait to express that a ReverseSearcher can be used for a DoubleEndedIterator implementation.

Pattern

A byte string pattern.

ReverseSearcher

A reverse searcher for a byte string pattern.

Searcher

A searcher for a byte string pattern.