pub struct NotificationFromSuccessorHandler<N, F>{ /* private fields */ }Expand description
Handler to process a notification of type N coming from the successor component.
Implementations§
Source§impl<N, F> NotificationFromSuccessorHandler<N, F>
impl<N, F> NotificationFromSuccessorHandler<N, F>
Trait Implementations§
Source§impl<N, F> JsonRpcHandler for NotificationFromSuccessorHandler<N, F>
impl<N, F> JsonRpcHandler for NotificationFromSuccessorHandler<N, F>
Source§async fn handle_message(
&mut self,
message: MessageAndCx,
) -> Result<Handled<MessageAndCx>, Error>
async fn handle_message( &mut self, message: MessageAndCx, ) -> Result<Handled<MessageAndCx>, Error>
Attempt to claim an incoming message (request or notification). Read more
fn describe_chain(&self) -> impl Debug
Auto Trait Implementations§
impl<N, F> Freeze for NotificationFromSuccessorHandler<N, F>where
F: Freeze,
impl<N, F> RefUnwindSafe for NotificationFromSuccessorHandler<N, F>where
F: RefUnwindSafe,
impl<N, F> Send for NotificationFromSuccessorHandler<N, F>where
F: Send,
impl<N, F> Sync for NotificationFromSuccessorHandler<N, F>where
F: Sync,
impl<N, F> Unpin for NotificationFromSuccessorHandler<N, F>where
F: Unpin,
impl<N, F> UnwindSafe for NotificationFromSuccessorHandler<N, F>where
F: 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