Struct glob::PatternError [] [src]

pub struct PatternError {
    pub pos: usize,
    pub msg: &'static str,
}

A pattern parsing error.

Fields

pos: usize

The approximate character index of where the error occurred.

msg: &'static str

A message describing the error.

Trait Implementations

impl Debug for PatternError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for PatternError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.