pub struct LocalConnector { /* private fields */ }Expand description
Native local endpoint supplied by the caller’s existing endpoint helper.
Implementations§
Trait Implementations§
Source§impl Clone for LocalConnector
impl Clone for LocalConnector
Source§fn clone(&self) -> LocalConnector
fn clone(&self) -> LocalConnector
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Connector for LocalConnector
impl Connector for LocalConnector
Source§fn connect(
&self,
deadline: Instant,
) -> BoxFuture<'_, ClientResult<BoxTransport>>
fn connect( &self, deadline: Instant, ) -> BoxFuture<'_, ClientResult<BoxTransport>>
Dial before the remaining absolute setup deadline; dropping cancels dial.
Auto Trait Implementations§
impl Freeze for LocalConnector
impl RefUnwindSafe for LocalConnector
impl Send for LocalConnector
impl Sync for LocalConnector
impl Unpin for LocalConnector
impl UnsafeUnpin for LocalConnector
impl UnwindSafe for LocalConnector
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