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