Function gain::origin::accept [−][src]
pub async fn accept() -> Result<RecvWriteStream, AcceptError>
Expand description
Accept a new incoming connection.
The call is blocked while no connection is available, or the environment-dependent maximum number of simultaneous connections is reached.
Typically there is a correspondence between a connection and a program invocation or resumption.