Enum bstring::bfmt::ParseErrorKind
[−]
[src]
pub enum ParseErrorKind { MissingCloseBrace, UnmatchedCloseBrace, }
Represents a kind of error generated while parsing a format string.
Variants
MissingCloseBrace
An open brace ({
) was found without a matching close brace (}
)
UnmatchedCloseBrace
A close brace (}
) was found without a matching open brace ({
)
Methods
impl ParseErrorKind
[src]
fn description(&self) -> &'static str
Returns a description of the error.
Trait Implementations
impl Copy for ParseErrorKind
[src]
impl Clone for ParseErrorKind
[src]
fn clone(&self) -> ParseErrorKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more