pub enum AbiVersionError {
TooOld {
module: u32,
min_supported: u32,
},
TooNew {
module: u32,
max_supported: u32,
},
}Variants§
Trait Implementations§
Source§impl Clone for AbiVersionError
impl Clone for AbiVersionError
Source§fn clone(&self) -> AbiVersionError
fn clone(&self) -> AbiVersionError
Returns a duplicate of the value. Read more
1.0.0 · 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 AbiVersionError
impl Debug for AbiVersionError
Source§impl Display for AbiVersionError
impl Display for AbiVersionError
Source§impl Error for AbiVersionError
impl Error for AbiVersionError
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()
Auto Trait Implementations§
impl Freeze for AbiVersionError
impl RefUnwindSafe for AbiVersionError
impl Send for AbiVersionError
impl Sync for AbiVersionError
impl Unpin for AbiVersionError
impl UnsafeUnpin for AbiVersionError
impl UnwindSafe for AbiVersionError
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