pub struct InvalidCharacter {
pub received: char,
pub expected: &'static [char],
}
Expand description
Character found initially which does that have transition
Fields§
§received: char
§expected: &'static [char]
Trait Implementations§
Source§impl Debug for InvalidCharacter
impl Debug for InvalidCharacter
Source§impl Display for InvalidCharacter
impl Display for InvalidCharacter
Source§impl Error for InvalidCharacter
impl Error for InvalidCharacter
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()
Source§impl PartialEq for InvalidCharacter
impl PartialEq for InvalidCharacter
impl Eq for InvalidCharacter
impl StructuralPartialEq for InvalidCharacter
Auto Trait Implementations§
impl Freeze for InvalidCharacter
impl RefUnwindSafe for InvalidCharacter
impl Send for InvalidCharacter
impl Sync for InvalidCharacter
impl Unpin for InvalidCharacter
impl UnwindSafe for InvalidCharacter
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