pub struct RemoteClient { /* private fields */ }Implementations§
Source§impl RemoteClient
impl RemoteClient
pub fn new(addr: SocketAddr) -> Self
pub fn connect(&self) -> Result<RemoteConnection>
Trait Implementations§
Source§impl Clone for RemoteClient
impl Clone for RemoteClient
Source§fn clone(&self) -> RemoteClient
fn clone(&self) -> RemoteClient
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 RemoteClient
impl RefUnwindSafe for RemoteClient
impl Send for RemoteClient
impl Sync for RemoteClient
impl Unpin for RemoteClient
impl UnwindSafe for RemoteClient
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