Lines Matching refs:PatternError
162 pub fn glob(pattern: &str) -> Result<Paths, PatternError> { in glob() argument
179 pub fn glob_with(pattern: &str, options: MatchOptions) -> Result<Paths, PatternError> { in glob_with() argument
497 pub struct PatternError { struct
505 impl Error for PatternError { argument
511 impl fmt::Display for PatternError { implementation
565 type Err = PatternError;
567 fn from_str(s: &str) -> Result<Self, PatternError> { in from_str() argument
604 pub fn new(pattern: &str) -> Result<Self, PatternError> { in new() argument
626 return Err(PatternError { in new()
645 return Err(PatternError { in new()
652 return Err(PatternError { in new()
698 return Err(PatternError { in new()