pub struct Accept<'fd, A, D: Descriptor = File> { /* private fields */ }
Expand description
Future
behind AsyncFd::accept
.
Trait Implementations§
source§impl<'fd, A, D: Descriptor> Cancel for Accept<'fd, A, D>
impl<'fd, A, D: Descriptor> Cancel for Accept<'fd, A, D>
source§impl<'fd, A, D: Descriptor> Drop for Accept<'fd, A, D>
impl<'fd, A, D: Descriptor> Drop for Accept<'fd, A, D>
source§impl<'fd, A: SocketAddress, D: Descriptor> Future for Accept<'fd, A, D>
impl<'fd, A: SocketAddress, D: Descriptor> Future for Accept<'fd, A, D>
impl<'fd, A: Send, D: Descriptor + Send> Send for Accept<'fd, A, D>
impl<'fd, A: Sync, D: Descriptor + Sync> Sync for Accept<'fd, A, D>
Auto Trait Implementations§
impl<'fd, A, D = File> !Freeze for Accept<'fd, A, D>
impl<'fd, A, D = File> !RefUnwindSafe for Accept<'fd, A, D>
impl<'fd, A, D> Unpin for Accept<'fd, A, D>
impl<'fd, A, D> UnwindSafe for Accept<'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