pub struct ExistingConnection<T>(/* private fields */);
Expand description
A Dial
implementation that uses an existing connection.
Once the connection terminates, subsequent connections will fail.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for ExistingConnection<T>where
T: Freeze,
impl<T> RefUnwindSafe for ExistingConnection<T>where
T: RefUnwindSafe,
impl<T> Send for ExistingConnection<T>where
T: Send,
impl<T> Sync for ExistingConnection<T>where
T: Sync,
impl<T> Unpin for ExistingConnection<T>where
T: Unpin,
impl<T> UnwindSafe for ExistingConnection<T>where
T: 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