Struct thrift::protocol::TCompactInputProtocolFactory
source · pub struct TCompactInputProtocolFactory;
Expand description
Factory for creating instances of TCompactInputProtocol
.
Implementations§
source§impl TCompactInputProtocolFactory
impl TCompactInputProtocolFactory
sourcepub fn new() -> TCompactInputProtocolFactory
pub fn new() -> TCompactInputProtocolFactory
Create a TCompactInputProtocolFactory
.
Trait Implementations§
source§impl Default for TCompactInputProtocolFactory
impl Default for TCompactInputProtocolFactory
source§fn default() -> TCompactInputProtocolFactory
fn default() -> TCompactInputProtocolFactory
Returns the “default value” for a type. Read more
source§impl TInputProtocolFactory for TCompactInputProtocolFactory
impl TInputProtocolFactory for TCompactInputProtocolFactory
fn create( &self, transport: Box<dyn TReadTransport + Send>, ) -> Box<dyn TInputProtocol + Send>
Auto Trait Implementations§
impl Freeze for TCompactInputProtocolFactory
impl RefUnwindSafe for TCompactInputProtocolFactory
impl Send for TCompactInputProtocolFactory
impl Sync for TCompactInputProtocolFactory
impl Unpin for TCompactInputProtocolFactory
impl UnwindSafe for TCompactInputProtocolFactory
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