pub enum IpcCommand {
Pause {
monitor: Option<String>,
},
Resume {
monitor: Option<String>,
},
Reload,
Seek {
timestamp_ms: u64,
monitor: Option<String>,
},
Preview {
path: String,
effect: Option<Effect>,
duration_ms: Option<u32>,
fps: Option<u32>,
no_theme: bool,
theme_override: Option<ThemeProvider>,
monitor: Option<String>,
scaling_mode: Option<ScalingMode>,
},
Stop,
Status,
Info {
monitor: Option<String>,
},
MonitorList,
MonitorCurrent,
Blank {
monitor: Option<String>,
effect: Option<Effect>,
duration_ms: Option<u32>,
},
Restore {
monitor: Option<String>,
effect: Option<Effect>,
duration_ms: Option<u32>,
},
}Variants§
Pause
Resume
Reload
Seek
Preview
Stop
Status
Info
MonitorList
MonitorCurrent
Blank
Restore
Trait Implementations§
Source§impl Clone for IpcCommand
impl Clone for IpcCommand
Source§impl Debug for IpcCommand
impl Debug for IpcCommand
Source§impl<'de> Deserialize<'de> for IpcCommand
impl<'de> Deserialize<'de> for IpcCommand
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
Auto Trait Implementations§
impl Freeze for IpcCommand
impl RefUnwindSafe for IpcCommand
impl Send for IpcCommand
impl Sync for IpcCommand
impl Unpin for IpcCommand
impl UnsafeUnpin for IpcCommand
impl UnwindSafe for IpcCommand
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