pub enum SessionType {
X11,
Wayland,
MIR,
TTY,
Unspecified,
}Expand description
The type of Session
Variants§
Trait Implementations§
Source§impl Clone for SessionType
impl Clone for SessionType
Source§fn clone(&self) -> SessionType
fn clone(&self) -> SessionType
Returns a duplicate 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 SessionType
impl Debug for SessionType
Source§impl<'de> Deserialize<'de> for SessionType
impl<'de> Deserialize<'de> for SessionType
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 From<&SessionType> for &str
impl From<&SessionType> for &str
Source§fn from(s: &SessionType) -> Self
fn from(s: &SessionType) -> Self
Converts to this type from the input type.
Source§impl From<SessionType> for &str
impl From<SessionType> for &str
Source§fn from(m: SessionType) -> Self
fn from(m: SessionType) -> Self
Converts to this type from the input type.
Source§impl FromStr for SessionType
impl FromStr for SessionType
Source§impl PartialEq for SessionType
impl PartialEq for SessionType
Source§impl Serialize for SessionType
impl Serialize for SessionType
Source§impl TryFrom<OwnedValue> for SessionType
impl TryFrom<OwnedValue> for SessionType
Source§impl Type for SessionType
impl Type for SessionType
impl Copy for SessionType
impl Eq for SessionType
impl StructuralPartialEq for SessionType
Auto Trait Implementations§
impl Freeze for SessionType
impl RefUnwindSafe for SessionType
impl Send for SessionType
impl Sync for SessionType
impl Unpin for SessionType
impl UnwindSafe for SessionType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
Source§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
Source§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.