pub enum CaptureKind {
Desktop,
Window,
Pick,
}Expand description
How the session’s frames were obtained. Optional in the schema — sessions written before it existed simply lack it.
Variants§
Desktop
Whole monitors, no window attachment.
Window
Attached to a window via --target: the target record carries
the window’s identity for re-attachment.
Pick
One window chosen in the desktop portal’s picker (--pick); the
portal reveals no window identity, so target is a placeholder.
Trait Implementations§
Source§impl Clone for CaptureKind
impl Clone for CaptureKind
Source§fn clone(&self) -> CaptureKind
fn clone(&self) -> CaptureKind
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 moreimpl Copy for CaptureKind
Source§impl Debug for CaptureKind
impl Debug for CaptureKind
Source§impl<'de> Deserialize<'de> for CaptureKind
impl<'de> Deserialize<'de> for CaptureKind
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 CaptureKind
Source§impl PartialEq for CaptureKind
impl PartialEq for CaptureKind
Source§impl Serialize for CaptureKind
impl Serialize for CaptureKind
impl StructuralPartialEq for CaptureKind
Auto Trait Implementations§
impl Freeze for CaptureKind
impl RefUnwindSafe for CaptureKind
impl Send for CaptureKind
impl Sync for CaptureKind
impl Unpin for CaptureKind
impl UnsafeUnpin for CaptureKind
impl UnwindSafe for CaptureKind
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.