pub struct NotificationSyncProcessor<H: NotificationSyncHandler> { /* private fields */ }Implementations§
Source§impl<H: NotificationSyncHandler> NotificationSyncProcessor<H>
impl<H: NotificationSyncHandler> NotificationSyncProcessor<H>
pub fn new(handler: H) -> NotificationSyncProcessor<H>
Trait Implementations§
Source§impl<H: NotificationSyncHandler> TProcessor for NotificationSyncProcessor<H>
impl<H: NotificationSyncHandler> TProcessor for NotificationSyncProcessor<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 NotificationSyncProcessor<H>where
H: Freeze,
impl<H> RefUnwindSafe for NotificationSyncProcessor<H>where
H: RefUnwindSafe,
impl<H> Send for NotificationSyncProcessor<H>where
H: Send,
impl<H> Sync for NotificationSyncProcessor<H>where
H: Sync,
impl<H> Unpin for NotificationSyncProcessor<H>where
H: Unpin,
impl<H> UnwindSafe for NotificationSyncProcessor<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