pub enum AbiRevisionExplanation {
Normal,
Platform {
date: NaiveDate,
git_revision: u16,
},
Unstable {
date: NaiveDate,
git_revision: u16,
},
Invalid,
Malformed,
}
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, and the precise definitions of the fields below.
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.
Fields
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.
Malformed
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
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AbiRevisionExplanation
impl Debug for AbiRevisionExplanation
Source§impl PartialEq for AbiRevisionExplanation
impl PartialEq for AbiRevisionExplanation
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
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)
clone_to_uninit
)