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)>
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 AbiRevisionError
impl PartialEq for AbiRevisionError
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)