pub enum HandoffSourceType {
Remote,
Local,
Unknown,
}Expand description
Origin type of the session being handed off
Variants§
Remote
The handoff originated from a remote session.
Local
The handoff originated from a local session.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for HandoffSourceType
impl Clone for HandoffSourceType
Source§fn clone(&self) -> HandoffSourceType
fn clone(&self) -> HandoffSourceType
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 HandoffSourceType
impl Debug for HandoffSourceType
Source§impl Default for HandoffSourceType
impl Default for HandoffSourceType
Source§fn default() -> HandoffSourceType
fn default() -> HandoffSourceType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HandoffSourceType
impl<'de> Deserialize<'de> for HandoffSourceType
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
impl Eq for HandoffSourceType
Source§impl PartialEq for HandoffSourceType
impl PartialEq for HandoffSourceType
Source§fn eq(&self, other: &HandoffSourceType) -> bool
fn eq(&self, other: &HandoffSourceType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HandoffSourceType
impl Serialize for HandoffSourceType
impl StructuralPartialEq for HandoffSourceType
Auto Trait Implementations§
impl Freeze for HandoffSourceType
impl RefUnwindSafe for HandoffSourceType
impl Send for HandoffSourceType
impl Sync for HandoffSourceType
impl Unpin for HandoffSourceType
impl UnsafeUnpin for HandoffSourceType
impl UnwindSafe for HandoffSourceType
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