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