pub enum CastKind {
PipeWire,
WlrScreencopy,
}Expand description
Kind of screencast.
Variants§
PipeWire
PipeWire screencast, typically via xdg-desktop-portal-gnome.
WlrScreencopy
wlr-screencopy protocol screencast.
Tools like wf-recorder, and the xdg-desktop-portal-wlr portal.
Only wlr-screencopy with damage tracking is reported here. Screencopy without damage is treated as a regular screenshot and not reported as a screencast.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CastKind
impl<'de> Deserialize<'de> for CastKind
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 Copy for CastKind
impl Eq for CastKind
impl StructuralPartialEq for CastKind
Auto Trait Implementations§
impl Freeze for CastKind
impl RefUnwindSafe for CastKind
impl Send for CastKind
impl Sync for CastKind
impl Unpin for CastKind
impl UnwindSafe for CastKind
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