pub struct AgentHID { /* private fields */ }Expand description
Agent HID controller
Implementations§
Source§impl AgentHID
impl AgentHID
Sourcepub fn execute_json(&mut self, json: &str) -> AgentResult
pub fn execute_json(&mut self, json: &str) -> AgentResult
Execute an action from JSON
Sourcepub fn execute(&mut self, action: AgentAction) -> AgentResult
pub fn execute(&mut self, action: AgentAction) -> AgentResult
Execute an action
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AgentHID
impl !RefUnwindSafe for AgentHID
impl Send for AgentHID
impl Sync for AgentHID
impl Unpin for AgentHID
impl UnsafeUnpin for AgentHID
impl !UnwindSafe for AgentHID
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