[][src]Enum platforms::platform::Tier

pub enum Tier {
    One,
    Two,
    Three,
}

Rust platform tiers: support levels are organized into three tiers, each with a different set of guarantees.

Variants

One

Tier 1 platforms can be thought of as “guaranteed to work”. Specifically they will each satisfy the following requirements:

  • Official binary releases are provided for the platform.
  • Automated testing is set up to run tests for the platform.
  • Landing changes to the rust-lang/rust repository’s master branch is gated on tests passing.
  • Documentation for how to use and how to build the platform is available.
Two

Tier 2 platforms can be thought of as “guaranteed to build”. Automated tests are not run so it’s not guaranteed to produce a working build, but platforms often work to quite a good degree and patches are always welcome!

Specifically, these platforms are required to have each of the following:

  • Official binary releases are provided for the platform.
  • Automated building is set up, but may not be running tests.
  • Landing changes to the rust-lang/rust repository’s master branch is gated on platforms building. For some platforms only the standard library is compiled, but for others rustc and cargo are too.
Three

Tier 3 platforms are those which the Rust codebase has support for, but which are not built or tested automatically, and may not work. Official builds are not available.

Implementations

impl Tier[src]

pub fn to_usize(self) -> usize[src]

Get a number identifying this tier

pub fn as_str(self) -> &'static str[src]

Get a string identifying this tier

Trait Implementations

impl Clone for Tier[src]

impl Copy for Tier[src]

impl Debug for Tier[src]

impl Display for Tier[src]

impl Eq for Tier[src]

impl From<Tier> for usize[src]

impl FromStr for Tier[src]

type Err = Error

The associated error which can be returned from parsing.

impl Hash for Tier[src]

impl Ord for Tier[src]

impl PartialEq<Tier> for Tier[src]

impl PartialOrd<Tier> for Tier[src]

impl StructuralEq for Tier[src]

impl StructuralPartialEq for Tier[src]

impl TryFrom<usize> for Tier[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Tier

impl Send for Tier

impl Sync for Tier

impl Unpin for Tier

impl UnwindSafe for Tier

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.