Struct worterbuch_cli::tcp::TcpConnection
source · [−]pub struct TcpConnection { /* private fields */ }Trait Implementations
sourceimpl Clone for TcpConnection
impl Clone for TcpConnection
sourcefn clone(&self) -> TcpConnection
fn clone(&self) -> TcpConnection
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Connection for TcpConnection
impl Connection for TcpConnection
fn set(&mut self, key: &str, value: &str) -> Result<u64>
fn get(&mut self, key: &str) -> Result<u64>
fn pget(&mut self, key: &str) -> Result<u64>
fn subscribe(&mut self, key: &str) -> Result<u64>
fn psubscribe(&mut self, request_pattern: &str) -> Result<u64>
fn export(&mut self, path: &str) -> Result<u64>
fn import(&mut self, path: &str) -> Result<u64>
fn acks(&mut self) -> Receiver<u64>
Auto Trait Implementations
impl !RefUnwindSafe for TcpConnection
impl Send for TcpConnection
impl Sync for TcpConnection
impl Unpin for TcpConnection
impl !UnwindSafe for TcpConnection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more