pub enum ParseErrorKind {
MissingCloseBrace,
UnmatchedCloseBrace,
}
Expand description
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 ({
)
Implementations§
Source§impl ParseErrorKind
impl ParseErrorKind
Sourcepub fn description(&self) -> &'static str
pub fn description(&self) -> &'static str
Returns a description of the error.
Trait Implementations§
Source§impl Clone for ParseErrorKind
impl Clone for ParseErrorKind
Source§fn clone(&self) -> ParseErrorKind
fn clone(&self) -> ParseErrorKind
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ParseErrorKind
impl Debug for ParseErrorKind
impl Copy for ParseErrorKind
Auto Trait Implementations§
impl Freeze for ParseErrorKind
impl RefUnwindSafe for ParseErrorKind
impl Send for ParseErrorKind
impl Sync for ParseErrorKind
impl Unpin for ParseErrorKind
impl UnwindSafe for ParseErrorKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more