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