pub struct Connect<'fd, A, D: Descriptor = File> { /* private fields */ }
Expand description
Future
behind AsyncFd::connect
.
Trait Implementations§
source§impl<'fd, A, D: Descriptor> Cancel for Connect<'fd, A, D>
impl<'fd, A, D: Descriptor> Cancel for Connect<'fd, A, D>
source§impl<'fd, A, D: Descriptor> Drop for Connect<'fd, A, D>
impl<'fd, A, D: Descriptor> Drop for Connect<'fd, A, D>
source§impl<'fd, A: SocketAddress, D: Descriptor> Extract for Connect<'fd, A, D>
impl<'fd, A: SocketAddress, D: Descriptor> Extract for Connect<'fd, A, D>
source§impl<'fd, A: SocketAddress, D: Descriptor> Future for Connect<'fd, A, D>
impl<'fd, A: SocketAddress, D: Descriptor> Future for Connect<'fd, A, D>
impl<'fd, A: Send, D: Descriptor + Send> Send for Connect<'fd, A, D>
impl<'fd, A: Sync, D: Descriptor + Sync> Sync for Connect<'fd, A, D>
Auto Trait Implementations§
impl<'fd, A, D = File> !Freeze for Connect<'fd, A, D>
impl<'fd, A, D = File> !RefUnwindSafe for Connect<'fd, A, D>
impl<'fd, A, D> Unpin for Connect<'fd, A, D>
impl<'fd, A, D> UnwindSafe for Connect<'fd, A, D>where
D: RefUnwindSafe,
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
source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more