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