Enum qapi_qmp::RockerPortDuplex
source · pub enum RockerPortDuplex {
half,
full,
}
Variants§
Trait Implementations§
source§impl Clone for RockerPortDuplex
impl Clone for RockerPortDuplex
source§fn clone(&self) -> RockerPortDuplex
fn clone(&self) -> RockerPortDuplex
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 RockerPortDuplex
impl Debug for RockerPortDuplex
source§impl<'de> Deserialize<'de> for RockerPortDuplex
impl<'de> Deserialize<'de> for RockerPortDuplex
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Enum for RockerPortDuplex
impl Enum for RockerPortDuplex
source§impl FromStr for RockerPortDuplex
impl FromStr for RockerPortDuplex
source§impl Hash for RockerPortDuplex
impl Hash for RockerPortDuplex
source§impl Ord for RockerPortDuplex
impl Ord for RockerPortDuplex
source§fn cmp(&self, other: &RockerPortDuplex) -> Ordering
fn cmp(&self, other: &RockerPortDuplex) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<RockerPortDuplex> for RockerPortDuplex
impl PartialEq<RockerPortDuplex> for RockerPortDuplex
source§fn eq(&self, other: &RockerPortDuplex) -> bool
fn eq(&self, other: &RockerPortDuplex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<RockerPortDuplex> for RockerPortDuplex
impl PartialOrd<RockerPortDuplex> for RockerPortDuplex
source§fn partial_cmp(&self, other: &RockerPortDuplex) -> Option<Ordering>
fn partial_cmp(&self, other: &RockerPortDuplex) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for RockerPortDuplex
impl Serialize for RockerPortDuplex
impl Copy for RockerPortDuplex
impl Eq for RockerPortDuplex
impl StructuralEq for RockerPortDuplex
impl StructuralPartialEq for RockerPortDuplex
Auto Trait Implementations§
impl RefUnwindSafe for RockerPortDuplex
impl Send for RockerPortDuplex
impl Sync for RockerPortDuplex
impl Unpin for RockerPortDuplex
impl UnwindSafe for RockerPortDuplex
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