Struct coreemu::client::Client [−][src]
pub struct Client { /* fields omitted */ }
Implementations
pub async fn edit_node(
&mut self,
session_id: i32,
node_id: i32,
position: Option<Position>,
icon: String,
source: String,
geo: Option<Geo>
) -> Result<EditNodeResponse, Status>
pub async fn create_session(
&mut self,
session_id: i32
) -> Result<CreateSessionResponse, Status>
pub async fn open_xml(
&mut self,
data: String,
start: bool,
file: String
) -> Result<OpenXmlResponse, Status>
pub async fn execute_script(
&mut self,
script: String
) -> Result<ExecuteScriptResponse, Status>
pub async fn node_command(
&mut self,
session_id: i32,
node_id: i32,
command: String,
wait: bool,
shell: bool
) -> Result<NodeCommandResponse, Status>
pub async fn move_nodes(
&mut self,
moves: Vec<MoveNodesRequest>
) -> Result<MoveNodesResponse, Status>
pub async fn mobility_action(
&mut self,
session_id: i32,
node_id: i32,
action: Enum
) -> Result<MobilityActionResponse, Status>
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl !UnwindSafe for Client
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more