Enum patch_rs::PatchError
source · pub enum PatchError {
Reading(Error),
ParsingPatch(Error<Rule>),
ParsingContext(ParseIntError),
NotFound(&'static str),
MalformedPatch(&'static str),
AbruptInput(usize),
PatchInputMismatch(usize),
}
Variants
Reading(Error)
ParsingPatch(Error<Rule>)
ParsingContext(ParseIntError)
NotFound(&'static str)
MalformedPatch(&'static str)
AbruptInput(usize)
PatchInputMismatch(usize)
Trait Implementations
sourceimpl Fail for Error
impl Fail for Error
sourcefn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moresourceimpl From<ParseIntError> for Error
impl From<ParseIntError> for Error
sourcefn from(err: ParseIntError) -> Error
fn from(err: ParseIntError) -> Error
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more