Enum seaplane_cli::cli::cmds::flight::common::Architecture
source · [−]pub enum Architecture {
Amd64,
Arm64,
}Expand description
Supported Architectures
Variants
Amd64
Arm64
Implementations
sourceimpl Architecture
impl Architecture
pub fn into_model(&self) -> ArchitectureModel
Trait Implementations
sourceimpl Clone for Architecture
impl Clone for Architecture
sourcefn clone(&self) -> Architecture
fn clone(&self) -> Architecture
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for Architecture
impl Debug for Architecture
sourceimpl FromStr for Architecture
impl FromStr for Architecture
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
sourceimpl<'a> Into<Architecture> for &'a Architecture
impl<'a> Into<Architecture> for &'a Architecture
sourcefn into(self) -> ArchitectureModel
fn into(self) -> ArchitectureModel
Converts this type into the (usually inferred) input type.
sourceimpl PartialEq<Architecture> for Architecture
impl PartialEq<Architecture> for Architecture
sourcefn eq(&self, other: &Architecture) -> bool
fn eq(&self, other: &Architecture) -> bool
sourceimpl TryFrom<&str> for Architecture
impl TryFrom<&str> for Architecture
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
sourceimpl ValueEnum for Architecture
impl ValueEnum for Architecture
sourcefn value_variants<'a>() -> &'a [Self]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
fn value_variants<'a>() -> &'a [Self]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
All possible argument values, in display order.
sourcefn to_possible_value<'a>(&self) -> Option<PossibleValue<'a>>
fn to_possible_value<'a>(&self) -> Option<PossibleValue<'a>>
The canonical argument value. Read more
impl Copy for Architecture
impl Eq for Architecture
impl StructuralEq for Architecture
impl StructuralPartialEq for Architecture
Auto Trait Implementations
impl RefUnwindSafe for Architecture
impl Send for Architecture
impl Sync for Architecture
impl Unpin for Architecture
impl UnwindSafe for Architecture
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.