Struct simple_pub_sub::client::PubSubTcpClient
source · pub struct PubSubTcpClient {
pub server: String,
pub port: u16,
}Expand description
Simple pub sub Client for Tcp connection
Fields§
§server: String§port: u16Trait Implementations§
source§impl Clone for PubSubTcpClient
impl Clone for PubSubTcpClient
source§fn clone(&self) -> PubSubTcpClient
fn clone(&self) -> PubSubTcpClient
Returns a copy 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 PubSubTcpClient
impl RefUnwindSafe for PubSubTcpClient
impl Send for PubSubTcpClient
impl Sync for PubSubTcpClient
impl Unpin for PubSubTcpClient
impl UnwindSafe for PubSubTcpClient
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