Trait tsclientlib::OutCommandExt [−][src]
pub trait OutCommandExt { fn send_with_result(
self,
con: &mut Connection
) -> Result<MessageHandle, Error>; fn send(self, con: &mut Connection) -> Result<(), Error>; }
Required methods
fn send_with_result(self, con: &mut Connection) -> Result<MessageHandle, Error>
[src]
Expand description
Adds a return_code
to the command and returns if the corresponding
answer is received. If an error occurs, the future will return an error.
fn send(self, con: &mut Connection) -> Result<(), Error>
[src]
Expand description
Sends the command without asking for an answer.
Implementors
impl<T: OutMessageTrait> OutCommandExt for T
[src]
impl<T: OutMessageTrait> OutCommandExt for T
[src]