Trait rincon_core::api::connector::Execute
[−]
[src]
pub trait Execute { fn execute<M>(&self, method: M) -> FutureResult<M>
where
M: 'static + Method + Prepare; }
A type that can execute method calls.
Any type that implements this Execute
trait can be returned by the
Connector
as Connector::Connection
.
Required Methods
fn execute<M>(&self, method: M) -> FutureResult<M> where
M: 'static + Method + Prepare,
M: 'static + Method + Prepare,
Executes the given method asynchronously and returns a future result.