[][src]Type Definition lib3h::transport_wss::Acceptor

type Acceptor<T> = Box<dyn FnMut(ConnectionIdFactory) -> TransportResult<WssInfo<T>>>;

A function that produces accepted sockets of type R wrapped in a TransportInfo