Struct sc2::debug::DebugClient [−][src]
pub struct DebugClient { /* fields omitted */ }Debug interface for a game instance.
Methods
impl DebugClient[src]
impl DebugClientpub fn send_debug<T>(
&self,
cmd: T
) -> impl Future<Item = (), Error = Error> where
T: Into<DebugCommand> + 'static, [src]
pub fn send_debug<T>(
&self,
cmd: T
) -> impl Future<Item = (), Error = Error> where
T: Into<DebugCommand> + 'static, Send a debug command to the game instance.
Trait Implementations
impl Debug for DebugClient[src]
impl Debug for DebugClientfn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for DebugClient[src]
impl Clone for DebugClientfn clone(&self) -> DebugClient[src]
fn clone(&self) -> DebugClientReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
Auto Trait Implementations
impl !Send for DebugClient
impl !Send for DebugClientimpl !Sync for DebugClient
impl !Sync for DebugClient