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
.Auto Trait Implementations§
impl RefUnwindSafe for TCompactOutputProtocolFactory
impl Send for TCompactOutputProtocolFactory
impl Sync for TCompactOutputProtocolFactory
impl Unpin for TCompactOutputProtocolFactory
impl UnwindSafe for TCompactOutputProtocolFactory
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