Enum rotor_stream::Accept
[−]
[src]
pub enum Accept<M, A: TryAccept + Sized> where A::Output: StreamSocket, M: Accepted<Socket=A::Output> {
Server(A, M::Seed),
Connection(M),
}
Socket acceptor State Machine
TODO(tailhook) Currently this panics when there is no slab space when accepting a connection. This may be fixed by sleeping and retrying
Variants
Server | ||
Connection |