pub struct Client { /* private fields */ }Implementations§
Source§impl Client
impl Client
pub fn new(path: &str, reconnect: bool) -> Result<Self, Error>
pub fn release(&self) -> Result<(), Error>
pub fn disconnect(&self) -> Result<(), Error>
pub fn userptr()
pub fn path(&self) -> Result<PathBuf, Error>
pub fn set_timeout(&self, timeout: f32) -> Result<(), Error>
pub fn get_frame(&self, until: i64) -> Result<Frame, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl RefUnwindSafe for Client
impl Unpin for Client
impl UnwindSafe for Client
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