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
.Auto Trait Implementations§
impl Freeze for TBinaryOutputProtocolFactory
impl RefUnwindSafe for TBinaryOutputProtocolFactory
impl Send for TBinaryOutputProtocolFactory
impl Sync for TBinaryOutputProtocolFactory
impl Unpin for TBinaryOutputProtocolFactory
impl UnwindSafe for TBinaryOutputProtocolFactory
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more