pub enum PubSubClient {
Tcp(PubSubTcpClient),
Unix(PubSubUnixClient),
}Expand description
Simple pub sub Client
Variants§
Tcp(PubSubTcpClient)
tcp client for the simple pub sub
Unix(PubSubUnixClient)
unix socket client for the simple pub sub
Trait Implementations§
Source§impl Clone for PubSubClient
impl Clone for PubSubClient
Source§fn clone(&self) -> PubSubClient
fn clone(&self) -> PubSubClient
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PubSubClient
impl RefUnwindSafe for PubSubClient
impl Send for PubSubClient
impl Sync for PubSubClient
impl Unpin for PubSubClient
impl UnwindSafe for PubSubClient
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