Enum rotor_capnp::Accept [] [src]

pub enum Accept<M, A> where
    A: TryAccept,
    M: Machine
{ Server(A), 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

Methods

impl<M, A> Accept<M, A> where
    A: TryAccept + Evented + Any,
    M: Machine
[src]

Trait Implementations

impl<M, A, S> Machine for Accept<M, A> where
    A: TryAccept<Output = S> + Evented + Any,
    M: Machine + Accepted<S>,
    S: StreamSocket
[src]

impl<M, A> Debug for Accept<M, A> where
    A: Debug + TryAccept,
    M: Debug + Machine
[src]

Formats the value using the given formatter.