pub struct TSIServiceSyncProcessor<H: TSIServiceSyncHandler> { /* private fields */ }
Implementations§
Source§impl<H: TSIServiceSyncHandler> TSIServiceSyncProcessor<H>
impl<H: TSIServiceSyncHandler> TSIServiceSyncProcessor<H>
pub fn new(handler: H) -> TSIServiceSyncProcessor<H>
Trait Implementations§
Source§impl<H: TSIServiceSyncHandler> TProcessor for TSIServiceSyncProcessor<H>
impl<H: TSIServiceSyncHandler> TProcessor for TSIServiceSyncProcessor<H>
Source§fn process(
&self,
i_prot: &mut dyn TInputProtocol,
o_prot: &mut dyn TOutputProtocol,
) -> Result<()>
fn process( &self, i_prot: &mut dyn TInputProtocol, o_prot: &mut dyn TOutputProtocol, ) -> Result<()>
Process a Thrift service call. Read more
Auto Trait Implementations§
impl<H> Freeze for TSIServiceSyncProcessor<H>where
H: Freeze,
impl<H> RefUnwindSafe for TSIServiceSyncProcessor<H>where
H: RefUnwindSafe,
impl<H> Send for TSIServiceSyncProcessor<H>where
H: Send,
impl<H> Sync for TSIServiceSyncProcessor<H>where
H: Sync,
impl<H> Unpin for TSIServiceSyncProcessor<H>where
H: Unpin,
impl<H> UnwindSafe for TSIServiceSyncProcessor<H>where
H: UnwindSafe,
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