Function asio::async_accept
[−]
[src]
pub fn async_accept<S, A, F, T>(a: A, callback: F, obj: &Strand<T>) where S: SocketListener, A: Fn(&T) -> &S + Send, F: FnOnce(Strand<T>, Result<(S::Socket, S::Endpoint)>) + Send