Trait rift::transport::TTransportFactory
[−]
[src]
pub trait TTransportFactory { fn create(&self, inner: Rc<RefCell<Box<TTransport>>>) -> Box<TTransport>; }
Helper type required by a TSimpleServer
to create TTransport
instances with which to communicate with accepted client connections.
Required Methods
fn create(&self, inner: Rc<RefCell<Box<TTransport>>>) -> Box<TTransport>
Construct a TTransport
that wraps an inner
transport, creating
a transport stack.
Implementors
impl TTransportFactory for TBufferedTransportFactory
impl TTransportFactory for TFramedTransportFactory