Type Alias libcras::CrasClientType

source ·
pub type CrasClientType = CRAS_CLIENT_TYPE;

Aliased Type§

enum CrasClientType {
    CRAS_CLIENT_TYPE_ARCVM,
    CRAS_CLIENT_TYPE_CROSVM,
}

Variants§

§

CRAS_CLIENT_TYPE_ARCVM

§

CRAS_CLIENT_TYPE_CROSVM

Trait Implementations§

source§

impl FromStr for CrasClientType

§

type Err = Error

The associated error which can be returned from parsing.
source§

fn from_str(cras_type: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Copy for CRAS_CLIENT_TYPE

source§

impl Clone for CRAS_CLIENT_TYPE

source§

fn clone(&self) -> CRAS_CLIENT_TYPE

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Eq for CRAS_CLIENT_TYPE

source§

impl Debug for CRAS_CLIENT_TYPE

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for CRAS_CLIENT_TYPE

source§

fn eq(&self, other: &CRAS_CLIENT_TYPE) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for CRAS_CLIENT_TYPE

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for CRAS_CLIENT_TYPE

source§

impl<'de> Deserialize<'de> for CRAS_CLIENT_TYPE

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more