pub struct HyperClient { /* private fields */ }
Implementations§
Source§impl HyperClient
impl HyperClient
pub fn new(address: String) -> HyperClient
pub fn authenticate(&mut self, username: String, password: String)
pub fn connect(&mut self)
pub fn ping(&self) -> Result<String>
pub fn http( &mut self, method: Method, url: &String, body: &str, ) -> Result<String>
pub fn version(&mut self) -> Result<String>
pub fn has(&mut self, key: &str) -> Result<String>
pub fn get(&mut self, key: &str) -> Result<String>
pub fn set(&mut self, key: &str, value: &str) -> Result<String>
pub fn delete(&mut self, key: &str) -> Result<String>
pub fn all(&mut self) -> Result<String>
pub fn clear(&mut self) -> Result<String>
pub fn empty(&mut self) -> Result<String>
pub fn save(&mut self) -> Result<String>
pub fn reload(&mut self) -> Result<String>
pub fn reset(&mut self) -> Result<String>
Auto Trait Implementations§
impl Freeze for HyperClient
impl !RefUnwindSafe for HyperClient
impl Send for HyperClient
impl Sync for HyperClient
impl Unpin for HyperClient
impl !UnwindSafe for HyperClient
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