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