pub enum DesktopKind {
Rdp,
Vnc,
}Expand description
Which remote-desktop protocol the client is asking for.
Serialised as "RDP" / "VNC", while also accepting lowercase aliases for
compatibility with older frontend payloads.
Variants§
Trait Implementations§
Source§impl Clone for DesktopKind
impl Clone for DesktopKind
Source§fn clone(&self) -> DesktopKind
fn clone(&self) -> DesktopKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DesktopKind
impl Debug for DesktopKind
Source§impl<'de> Deserialize<'de> for DesktopKind
impl<'de> Deserialize<'de> for DesktopKind
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 PartialEq for DesktopKind
impl PartialEq for DesktopKind
Source§fn eq(&self, other: &DesktopKind) -> bool
fn eq(&self, other: &DesktopKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DesktopKind
impl Eq for DesktopKind
impl StructuralPartialEq for DesktopKind
Auto Trait Implementations§
impl Freeze for DesktopKind
impl RefUnwindSafe for DesktopKind
impl Send for DesktopKind
impl Sync for DesktopKind
impl Unpin for DesktopKind
impl UnsafeUnpin for DesktopKind
impl UnwindSafe for DesktopKind
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