[][src]Struct influx::Influx

pub struct Influx { /* fields omitted */ }

Methods

impl Influx[src]

pub fn new(uri: String) -> Influx[src]

pub fn connect(&mut self) -> Result<(), Box<dyn Error>>[src]

pub fn disconnect(&mut self) -> Result<(), Box<dyn Error>>[src]

pub fn ping(&mut self) -> Result<bool, Box<dyn Error>>[src]

pub fn auth(&mut self, auth: Authentication) -> Result<bool, Box<dyn Error>>[src]

pub fn query_get(&mut self, query: Query) -> Result<String, Box<dyn Error>>[src]

Auto Trait Implementations

impl RefUnwindSafe for Influx

impl Send for Influx

impl Sync for Influx

impl Unpin for Influx

impl UnwindSafe for Influx

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, U> Into<U> for T where
    U: From<T>, 
[src]

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.