Enum qapi_qmp::PCIELinkSpeed
source · pub enum PCIELinkSpeed {
_2_5,
_5,
_8,
_16,
}
Variants§
Trait Implementations§
source§impl Clone for PCIELinkSpeed
impl Clone for PCIELinkSpeed
source§fn clone(&self) -> PCIELinkSpeed
fn clone(&self) -> PCIELinkSpeed
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 PCIELinkSpeed
impl Debug for PCIELinkSpeed
source§impl<'de> Deserialize<'de> for PCIELinkSpeed
impl<'de> Deserialize<'de> for PCIELinkSpeed
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 PCIELinkSpeed
impl Enum for PCIELinkSpeed
source§impl FromStr for PCIELinkSpeed
impl FromStr for PCIELinkSpeed
source§impl Hash for PCIELinkSpeed
impl Hash for PCIELinkSpeed
source§impl Ord for PCIELinkSpeed
impl Ord for PCIELinkSpeed
source§fn cmp(&self, other: &PCIELinkSpeed) -> Ordering
fn cmp(&self, other: &PCIELinkSpeed) -> 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<PCIELinkSpeed> for PCIELinkSpeed
impl PartialEq<PCIELinkSpeed> for PCIELinkSpeed
source§fn eq(&self, other: &PCIELinkSpeed) -> bool
fn eq(&self, other: &PCIELinkSpeed) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PCIELinkSpeed> for PCIELinkSpeed
impl PartialOrd<PCIELinkSpeed> for PCIELinkSpeed
source§fn partial_cmp(&self, other: &PCIELinkSpeed) -> Option<Ordering>
fn partial_cmp(&self, other: &PCIELinkSpeed) -> 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 PCIELinkSpeed
impl Serialize for PCIELinkSpeed
impl Copy for PCIELinkSpeed
impl Eq for PCIELinkSpeed
impl StructuralEq for PCIELinkSpeed
impl StructuralPartialEq for PCIELinkSpeed
Auto Trait Implementations§
impl RefUnwindSafe for PCIELinkSpeed
impl Send for PCIELinkSpeed
impl Sync for PCIELinkSpeed
impl Unpin for PCIELinkSpeed
impl UnwindSafe for PCIELinkSpeed
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