Struct tokio_arangodb::connection::Connection [−][src]
pub struct Connection { /* fields omitted */ }Methods
impl Connection[src]
impl Connectionpub fn connect(addr: &SocketAddr) -> ConnectionFuture[src]
pub fn connect(addr: &SocketAddr) -> ConnectionFuturepub fn run<T, U>(
self,
query: &T,
auth: &'static str,
path: &'static str,
method: Method
) -> Result<ResponseFuture<U>, Error> where
T: Serialize,
U: DeserializeOwned, [src]
pub fn run<T, U>(
self,
query: &T,
auth: &'static str,
path: &'static str,
method: Method
) -> Result<ResponseFuture<U>, Error> where
T: Serialize,
U: DeserializeOwned, Auto Trait Implementations
impl Send for Connection
impl Send for Connectionimpl Sync for Connection
impl Sync for Connection