pub struct ParseFormatterError(/* private fields */);
Expand description
An error that occurred while parsing a format string. The std::fmt::Display
implementation for ParseFormatterError
is guaranteed to produce something
human-readable (i.e., not just dump a struct), but the format may change.
Currently it uses pest’s errors.
Trait Implementations§
Source§impl Clone for ParseFormatterError
impl Clone for ParseFormatterError
Source§fn clone(&self) -> ParseFormatterError
fn clone(&self) -> ParseFormatterError
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ParseFormatterError
impl Debug for ParseFormatterError
Source§impl Display for ParseFormatterError
impl Display for ParseFormatterError
Source§impl Error for ParseFormatterError
impl Error for ParseFormatterError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Auto Trait Implementations§
impl Freeze for ParseFormatterError
impl RefUnwindSafe for ParseFormatterError
impl Send for ParseFormatterError
impl Sync for ParseFormatterError
impl Unpin for ParseFormatterError
impl UnwindSafe for ParseFormatterError
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