pub struct FormatParseError(pub String);Expand description
Error for the format parsing.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Debug for FormatParseError
impl Debug for FormatParseError
Source§impl Display for FormatParseError
impl Display for FormatParseError
Source§impl Error for FormatParseError
impl Error for FormatParseError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for FormatParseError
impl RefUnwindSafe for FormatParseError
impl Send for FormatParseError
impl Sync for FormatParseError
impl Unpin for FormatParseError
impl UnsafeUnpin for FormatParseError
impl UnwindSafe for FormatParseError
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