Struct glimesh::http::Connection[][src]

pub struct Connection { /* fields omitted */ }

Connect to glimesh over http(s).

Implementations

impl Connection[src]

pub fn builder() -> ConnectionBuilder[src]

Create a ConnectionBuilder to configure various options.

pub fn new(auth: Auth) -> Self[src]

Create a connection with the default options.

pub fn as_client(&self) -> Client<&Self, HttpConnectionError>[src]

Create a client with reference to this connection

pub fn to_client(&self) -> HttpClient[src]

Create a client with a clone of this connection

pub fn into_client(self) -> HttpClient[src]

Convert this connection into a client

Trait Implementations

impl Clone for Connection[src]

impl Debug for Connection[src]

impl MutationConn for Connection[src]

type Error = HttpConnectionError

Error type representing any errors that can occurr when mutating

impl QueryConn for Connection[src]

type Error = HttpConnectionError

Error type representing any errors that can occurr when querying

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,