pub struct EndsWithCharError {
pub end: char,
}Expand description
Represents errors that occur when the string does not end with end character.
Fields§
§end: charThe expected ending character.
Implementations§
Trait Implementations§
Source§impl Debug for EndsWithCharError
impl Debug for EndsWithCharError
Source§impl Display for EndsWithCharError
impl Display for EndsWithCharError
Source§impl Error for EndsWithCharError
impl Error for EndsWithCharError
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 EndsWithCharError
impl RefUnwindSafe for EndsWithCharError
impl Send for EndsWithCharError
impl Sync for EndsWithCharError
impl Unpin for EndsWithCharError
impl UnwindSafe for EndsWithCharError
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