pub struct TcpConnector<A>(/* private fields */);Expand description
Wrapper for building TcpStreams
Implementations§
Trait Implementations§
Source§impl<A: Clone> Clone for TcpConnector<A>
impl<A: Clone> Clone for TcpConnector<A>
Source§fn clone(&self) -> TcpConnector<A>
fn clone(&self) -> TcpConnector<A>
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 moreSource§impl<A> Connector for TcpConnector<A>
impl<A> Connector for TcpConnector<A>
Source§impl<A: Debug> Debug for TcpConnector<A>
impl<A: Debug> Debug for TcpConnector<A>
Source§impl<A: Ord> Ord for TcpConnector<A>
impl<A: Ord> Ord for TcpConnector<A>
Source§fn cmp(&self, other: &TcpConnector<A>) -> Ordering
fn cmp(&self, other: &TcpConnector<A>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<A: PartialEq> PartialEq for TcpConnector<A>
impl<A: PartialEq> PartialEq for TcpConnector<A>
Source§impl<A: PartialOrd> PartialOrd for TcpConnector<A>
impl<A: PartialOrd> PartialOrd for TcpConnector<A>
impl<A: Eq> Eq for TcpConnector<A>
impl<A> StructuralPartialEq for TcpConnector<A>
Auto Trait Implementations§
impl<A> Freeze for TcpConnector<A>where
A: Freeze,
impl<A> RefUnwindSafe for TcpConnector<A>where
A: RefUnwindSafe,
impl<A> Send for TcpConnector<A>where
A: Send,
impl<A> Sync for TcpConnector<A>where
A: Sync,
impl<A> Unpin for TcpConnector<A>where
A: Unpin,
impl<A> UnwindSafe for TcpConnector<A>where
A: UnwindSafe,
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