Struct thrift::protocol::TBinaryInputProtocolFactory
[−]
[src]
pub struct TBinaryInputProtocolFactory;
Factory for creating instances of TBinaryInputProtocol
.
Methods
impl TBinaryInputProtocolFactory
[src]
fn new() -> TBinaryInputProtocolFactory
Create a TBinaryInputProtocolFactory
.
Trait Implementations
impl Default for TBinaryInputProtocolFactory
[src]
fn default() -> TBinaryInputProtocolFactory
Returns the "default value" for a type. Read more
impl TInputProtocolFactory for TBinaryInputProtocolFactory
[src]
fn create(&mut self,
transport: Rc<RefCell<Box<TTransport>>>)
-> Box<TInputProtocol>
transport: Rc<RefCell<Box<TTransport>>>)
-> Box<TInputProtocol>
Create a TInputProtocol
that reads bytes from transport
.