pub enum ParserAtnError {
UnsupportedVersion {
found: u32,
minimum: u32,
maximum: u32,
},
InvalidData(String),
Overflow {
field: &'static str,
value: usize,
},
}Expand description
Failure while reading, validating, or constructing packed parser ATN data.
Variants§
Trait Implementations§
Source§impl Clone for ParserAtnError
impl Clone for ParserAtnError
Source§fn clone(&self) -> ParserAtnError
fn clone(&self) -> ParserAtnError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ParserAtnError
impl Debug for ParserAtnError
Source§impl Display for ParserAtnError
impl Display for ParserAtnError
impl Eq for ParserAtnError
Source§impl Error for ParserAtnError
impl Error for ParserAtnError
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 ParserAtnError
impl PartialEq for ParserAtnError
impl StructuralPartialEq for ParserAtnError
Auto Trait Implementations§
impl Freeze for ParserAtnError
impl RefUnwindSafe for ParserAtnError
impl Send for ParserAtnError
impl Sync for ParserAtnError
impl Unpin for ParserAtnError
impl UnsafeUnpin for ParserAtnError
impl UnwindSafe for ParserAtnError
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