pub struct AcronymParseError {
pub acronym: Box<str>,
}Expand description
Error while trying to parse an Acronym.
Fields§
§acronym: Box<str>The string on which parsing failed.
Trait Implementations§
Source§impl Clone for AcronymParseError
impl Clone for AcronymParseError
Source§fn clone(&self) -> AcronymParseError
fn clone(&self) -> AcronymParseError
Returns a duplicate 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 AcronymParseError
impl Debug for AcronymParseError
Source§impl Display for AcronymParseError
impl Display for AcronymParseError
Source§impl Error for AcronymParseError
impl Error for AcronymParseError
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 AcronymParseError
impl RefUnwindSafe for AcronymParseError
impl Send for AcronymParseError
impl Sync for AcronymParseError
impl Unpin for AcronymParseError
impl UnwindSafe for AcronymParseError
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