pub enum AbiRevisionExplanation {
Normal,
Platform {
git_revision: u64,
},
Unstable {
git_revision: u64,
},
Invalid,
Unknown,
}
Expand description
An AbiRevisionExplanation represents the information that can be extracted from a raw ABI revision just based on the 64-bit number itself.
See //build/sdk/generate_version_history for the code that generates special ABI revisions.
Variants§
Normal
This is a normal ABI revision, selected randomly. It should correspond to a normal API level.
Platform
This is an unstable ABI revision targeted by platform components.
Unstable
This is an unstable ABI revision targeted by components built with the
SDK. This corresponds to API levels like NEXT
and HEAD
.
Fields
Invalid
This ABI revision is exactly AbiRevision::INVALID, which is 2^64-1.
Unknown
This is a special ABI revision with an unknown meaning. Presumably it was introduced sometime after this code was compiled.
Trait Implementations§
source§impl Clone for AbiRevisionExplanation
impl Clone for AbiRevisionExplanation
source§fn clone(&self) -> AbiRevisionExplanation
fn clone(&self) -> AbiRevisionExplanation
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 AbiRevisionExplanation
impl Debug for AbiRevisionExplanation
source§impl PartialEq for AbiRevisionExplanation
impl PartialEq for AbiRevisionExplanation
source§fn eq(&self, other: &AbiRevisionExplanation) -> bool
fn eq(&self, other: &AbiRevisionExplanation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AbiRevisionExplanation
impl Eq for AbiRevisionExplanation
impl StructuralPartialEq for AbiRevisionExplanation
Auto Trait Implementations§
impl Freeze for AbiRevisionExplanation
impl RefUnwindSafe for AbiRevisionExplanation
impl Send for AbiRevisionExplanation
impl Sync for AbiRevisionExplanation
impl Unpin for AbiRevisionExplanation
impl UnwindSafe for AbiRevisionExplanation
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
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)