pub struct Influx { /* private fields */ }
Implementations§
Source§impl Influx
impl Influx
pub fn new(uri: String) -> Influx
pub fn connect(&mut self) -> Result<(), Box<dyn Error>>
pub fn disconnect(&mut self) -> Result<(), Box<dyn Error>>
pub fn ping(&mut self) -> Result<bool, Box<dyn Error>>
pub fn auth(&mut self, auth: Authentication) -> Result<bool, Box<dyn Error>>
pub fn query_get(&mut self, query: Query<'_>) -> Result<String, Box<dyn Error>>
Auto Trait Implementations§
impl Freeze for Influx
impl RefUnwindSafe for Influx
impl Send for Influx
impl Sync for Influx
impl Unpin for Influx
impl UnwindSafe for Influx
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more