Trait thrift::transport::TReadTransportFactory
[−]
[src]
pub trait TReadTransportFactory { fn create(&self, channel: Box<Read + Send>) -> Box<TReadTransport + Send>; }
Helper type used by a server to create TReadTransport
instances for
accepted client connections.
Required Methods
fn create(&self, channel: Box<Read + Send>) -> Box<TReadTransport + Send>
Create a TTransport
that wraps a channel over which bytes are to be read.
Implementors
impl TReadTransportFactory for TBufferedReadTransportFactory
impl TReadTransportFactory for TFramedReadTransportFactory
impl<T: ?Sized> TReadTransportFactory for Box<T> where
T: TReadTransportFactory,