Struct thrift::protocol::TCompactOutputProtocolFactory [−][src]
pub struct TCompactOutputProtocolFactory;
Expand description
Factory for creating instances of TCompactOutputProtocol
.
Implementations
Create a TCompactOutputProtocolFactory
.
Trait Implementations
Returns the “default value” for a type. Read more
fn create(
&self,
transport: Box<dyn TWriteTransport + Send>
) -> Box<dyn TOutputProtocol + Send>
fn create(
&self,
transport: Box<dyn TWriteTransport + Send>
) -> Box<dyn TOutputProtocol + Send>
Create a TOutputProtocol
that writes bytes to transport
.