Struct thrift::protocol::TCompactInputProtocolFactory
[−]
[src]
pub struct TCompactInputProtocolFactory;
Factory for creating instances of TCompactInputProtocol.
Methods
impl TCompactInputProtocolFactory[src]
fn new() -> TCompactInputProtocolFactory
Create a TCompactInputProtocolFactory.
Trait Implementations
impl Default for TCompactInputProtocolFactory[src]
fn default() -> TCompactInputProtocolFactory
Returns the "default value" for a type. Read more
impl TInputProtocolFactory for TCompactInputProtocolFactory[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.