pub enum BrowserClientOp {
Start {
session: String,
url: String,
profile_dir: Option<String>,
},
Input {
session: String,
bytes: Vec<u8>,
},
Stop {
session: String,
},
LocalServerStart {
session: String,
kind: String,
root: Option<String>,
cwd: Option<String>,
bin: Option<String>,
open: bool,
spa: Option<bool>,
},
LocalServerStop {
session: String,
id: String,
},
LocalServerList {
session: String,
},
}Expand description
HQ → node browser control (over the restream control channel).
Variants§
Start
Input
Dig2-compatible input bytes (click / scroll / key / text / nav).
Stop
LocalServerStart
Session-local server pool (tesserax-http). Reply body carries JSON.
Fields
LocalServerStop
LocalServerList
Trait Implementations§
Source§impl Clone for BrowserClientOp
impl Clone for BrowserClientOp
Source§impl Debug for BrowserClientOp
impl Debug for BrowserClientOp
Source§impl<'de> Deserialize<'de> for BrowserClientOp
impl<'de> Deserialize<'de> for BrowserClientOp
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 BrowserClientOp
Source§impl PartialEq for BrowserClientOp
impl PartialEq for BrowserClientOp
Source§impl Serialize for BrowserClientOp
impl Serialize for BrowserClientOp
impl StructuralPartialEq for BrowserClientOp
Auto Trait Implementations§
impl Freeze for BrowserClientOp
impl RefUnwindSafe for BrowserClientOp
impl Send for BrowserClientOp
impl Sync for BrowserClientOp
impl Unpin for BrowserClientOp
impl UnsafeUnpin for BrowserClientOp
impl UnwindSafe for BrowserClientOp
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