pub enum LoadAbiRevisionError {
Open(OpenError),
Read(ReadError),
Parse(TryFromSliceError),
}
Expand description
An error encountered while reading/parsing the package’s AbiRevision
.
Variants§
Trait Implementations§
Source§impl Debug for LoadAbiRevisionError
impl Debug for LoadAbiRevisionError
Source§impl Display for LoadAbiRevisionError
impl Display for LoadAbiRevisionError
Source§impl Error for LoadAbiRevisionError
impl Error for LoadAbiRevisionError
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 From<OpenError> for LoadAbiRevisionError
impl From<OpenError> for LoadAbiRevisionError
Source§impl From<ReadError> for LoadAbiRevisionError
impl From<ReadError> for LoadAbiRevisionError
Source§impl From<TryFromSliceError> for LoadAbiRevisionError
impl From<TryFromSliceError> for LoadAbiRevisionError
Source§fn from(source: TryFromSliceError) -> Self
fn from(source: TryFromSliceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LoadAbiRevisionError
impl !RefUnwindSafe for LoadAbiRevisionError
impl Send for LoadAbiRevisionError
impl Sync for LoadAbiRevisionError
impl Unpin for LoadAbiRevisionError
impl !UnwindSafe for LoadAbiRevisionError
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