pub struct ParseError {
pub location: SourceLocation,
pub kind: ParseErrorKind,
pub operation: &'static str,
}Expand description
A classified failure after commitment, with its location.
Fields§
§location: SourceLocationWhere the failure occurred.
kind: ParseErrorKindWhat kind of failure it was.
operation: &'static strThe committed operation in progress.
Implementations§
Trait Implementations§
Source§impl Clone for ParseError
impl Clone for ParseError
Source§impl Debug for ParseError
impl Debug for ParseError
impl Eq for ParseError
Source§impl From<ParseError> for CodecError
impl From<ParseError> for CodecError
Source§fn from(error: ParseError) -> Self
fn from(error: ParseError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ParseError
impl PartialEq for ParseError
impl StructuralPartialEq for ParseError
Auto Trait Implementations§
impl Freeze for ParseError
impl RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl UnsafeUnpin for ParseError
impl UnwindSafe for ParseError
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