[−][src]Trait thrift::transport::TReadTransportFactory
Helper type used by a server to create TReadTransport
instances for
accepted client connections.
Required methods
fn create(
&self,
channel: Box<dyn Read + Send>
) -> Box<dyn TReadTransport + Send>
&self,
channel: Box<dyn Read + Send>
) -> Box<dyn TReadTransport + Send>
Create a TTransport
that wraps a channel over which bytes are to be read.
Implementations on Foreign Types
impl<T: ?Sized> TReadTransportFactory for Box<T> where
T: TReadTransportFactory,
[src]
Loading content...
T: TReadTransportFactory,
Implementors
impl TReadTransportFactory for TBufferedReadTransportFactory
[src]
fn create(
&self,
channel: Box<dyn Read + Send>
) -> Box<dyn TReadTransport + Send>
[src]
&self,
channel: Box<dyn Read + Send>
) -> Box<dyn TReadTransport + Send>
Create a TBufferedReadTransport
.