pub enum ListingError {
Version(DataVersion),
Invalid(String),
}Expand description
Why a --contract file lists nothing.
Variants§
Version(DataVersion)
It is written in a data version this one does not read.
Invalid(String)
It is not a contract file, and why.
Trait Implementations§
Source§impl Clone for ListingError
impl Clone for ListingError
Source§impl Debug for ListingError
impl Debug for ListingError
Source§impl Display for ListingError
impl Display for ListingError
impl Eq for ListingError
Source§impl Error for ListingError
impl Error for ListingError
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 ListingError
impl PartialEq for ListingError
impl StructuralPartialEq for ListingError
Auto Trait Implementations§
impl Forget for ListingError
impl Freeze for ListingError
impl Move for ListingError
impl RefUnwindSafe for ListingError
impl Send for ListingErrorwhere
RawVecInner: Send,
impl Sync for ListingErrorwhere
RawVecInner: Sync,
impl Unpin for ListingError
impl UnsafeUnpin for ListingError
impl UnwindSafe for ListingErrorwhere
RawVecInner: UnwindSafe,
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