Struct thrift::protocol::TCompactOutputProtocolFactory
source · pub struct TCompactOutputProtocolFactory;
Expand description
Factory for creating instances of TCompactOutputProtocol
.
Implementations§
source§impl TCompactOutputProtocolFactory
impl TCompactOutputProtocolFactory
sourcepub fn new() -> TCompactOutputProtocolFactory
pub fn new() -> TCompactOutputProtocolFactory
Create a TCompactOutputProtocolFactory
.
Trait Implementations§
source§impl Default for TCompactOutputProtocolFactory
impl Default for TCompactOutputProtocolFactory
source§fn default() -> TCompactOutputProtocolFactory
fn default() -> TCompactOutputProtocolFactory
Returns the “default value” for a type. Read more
source§impl TOutputProtocolFactory for TCompactOutputProtocolFactory
impl TOutputProtocolFactory for TCompactOutputProtocolFactory
source§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
.