pub type TextRegexResult = Option<Result<Vec<TextHit>, RegexError>>;
Result of a regex query through the trigram-backed text index. The outer Option is None when no TEXT field by that name is declared; the inner Result surfaces a regex compilation error.
Option
None
TEXT
Result
pub enum TextRegexResult { None, Some(Result<Vec<(Vec<u8>, Vec<u8>)>, RegexError>), }
No value.
Some value of type T.
T