pub enum AbiRevisionError {
PlatformMismatch {
abi_revision: AbiRevision,
package_date: NaiveDate,
package_commit_hash: u16,
platform_date: NaiveDate,
platform_commit_hash: u16,
},
UnstableMismatch {
abi_revision: AbiRevision,
package_sdk_date: NaiveDate,
package_sdk_commit_hash: u16,
platform_date: NaiveDate,
platform_commit_hash: u16,
supported_versions: VersionVec,
},
TooNew {
abi_revision: AbiRevision,
supported_versions: VersionVec,
},
Retired {
version: Version,
supported_versions: VersionVec,
},
Invalid,
Malformed {
abi_revision: AbiRevision,
},
}
Variants§
PlatformMismatch
Fields
§
abi_revision: AbiRevision
UnstableMismatch
TooNew
Retired
Invalid
Malformed
Fields
§
abi_revision: AbiRevision
Trait Implementations§
source§impl Clone for AbiRevisionError
impl Clone for AbiRevisionError
source§fn clone(&self) -> AbiRevisionError
fn clone(&self) -> AbiRevisionError
Returns a copy 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 AbiRevisionError
impl Debug for AbiRevisionError
source§impl Display for AbiRevisionError
impl Display for AbiRevisionError
source§impl Error for AbiRevisionError
impl Error for AbiRevisionError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 AbiRevisionError
impl PartialEq for AbiRevisionError
source§fn eq(&self, other: &AbiRevisionError) -> bool
fn eq(&self, other: &AbiRevisionError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AbiRevisionError
impl StructuralPartialEq for AbiRevisionError
Auto Trait Implementations§
impl Freeze for AbiRevisionError
impl RefUnwindSafe for AbiRevisionError
impl Send for AbiRevisionError
impl Sync for AbiRevisionError
impl Unpin for AbiRevisionError
impl UnwindSafe for AbiRevisionError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)