pub enum DesktopRequest {
DesktopStart(DesktopStart),
DesktopAction(DesktopAction),
DesktopScreenshotSettled(DesktopScreenshotSettled),
DesktopWhatChanged(DesktopWhatChanged),
DesktopView(DesktopView),
DesktopStop(DesktopStop),
}Expand description
A desktop request, internally tagged by kind. The daemon routes desktop
connections here; each variant’s payload is a standalone struct.
Variants§
DesktopStart(DesktopStart)
Boot a persistent desktop VM. image is resolved client-side; the
remaining defaulted fields (vcpus, mem_mib, size) are filled by
the daemon when absent.
DesktopAction(DesktopAction)
Run one computer-use action against a live session.
DesktopScreenshotSettled(DesktopScreenshotSettled)
Poll until the desktop stops changing, then return that frame plus the regions still moving.
DesktopWhatChanged(DesktopWhatChanged)
Capture one frame and report what moved since the previous capture.
DesktopView(DesktopView)
Start (or look up) a live VNC view of the session and return the loopback address a VNC client connects to. Idempotent.
DesktopStop(DesktopStop)
Tear a live session down.
Trait Implementations§
Source§impl Clone for DesktopRequest
impl Clone for DesktopRequest
Source§fn clone(&self) -> DesktopRequest
fn clone(&self) -> DesktopRequest
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 DesktopRequest
impl Debug for DesktopRequest
Source§impl<'de> Deserialize<'de> for DesktopRequest
impl<'de> Deserialize<'de> for DesktopRequest
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 DesktopRequest
impl RefUnwindSafe for DesktopRequest
impl Send for DesktopRequest
impl Sync for DesktopRequest
impl Unpin for DesktopRequest
impl UnsafeUnpin for DesktopRequest
impl UnwindSafe for DesktopRequest
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