pub struct UnixConnector;
Trait Implementations§
Source§impl Clone for UnixConnector
impl Clone for UnixConnector
Source§fn clone(&self) -> UnixConnector
fn clone(&self) -> UnixConnector
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<P> Connector<P> for UnixConnector
impl<P> Connector<P> for UnixConnector
type Connection = UnixStream
type Error = Error
Source§async fn connect(
&self,
key: P,
) -> Result<<UnixConnector as Connector<P>>::Connection, <UnixConnector as Connector<P>>::Error>
async fn connect( &self, key: P, ) -> Result<<UnixConnector as Connector<P>>::Connection, <UnixConnector as Connector<P>>::Error>
Attempts to establish a connection. Read more
Source§impl Debug for UnixConnector
impl Debug for UnixConnector
Source§impl Default for UnixConnector
impl Default for UnixConnector
Source§fn default() -> UnixConnector
fn default() -> UnixConnector
Returns the “default value” for a type. Read more
impl Copy for UnixConnector
Auto Trait Implementations§
impl Freeze for UnixConnector
impl RefUnwindSafe for UnixConnector
impl Send for UnixConnector
impl Sync for UnixConnector
impl Unpin for UnixConnector
impl UnwindSafe for UnixConnector
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