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: AbiRevisionUnstableMismatch
TooNew
Retired
Invalid
Malformed
Fields
§
abi_revision: AbiRevisionTrait Implementations§
Source§impl Clone for AbiRevisionError
impl Clone for AbiRevisionError
Source§fn clone(&self) -> AbiRevisionError
fn clone(&self) -> AbiRevisionError
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 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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more