Struct akka_projection_rs::UnusedHandler
source · pub struct UnusedHandler<E> {
pub phantom: PhantomData<E>,
}
Expand description
For the purposes of constructing unused handlers.
Fields§
§phantom: PhantomData<E>
Trait Implementations§
source§impl<E> Handler for UnusedHandler<E>where
E: Send,
impl<E> Handler for UnusedHandler<E>where E: Send,
source§fn process<'life0, 'async_trait>(
&'life0 mut self,
_envelope: Self::Envelope
) -> Pin<Box<dyn Future<Output = Result<(), HandlerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn process<'life0, 'async_trait>( &'life0 mut self, _envelope: Self::Envelope ) -> Pin<Box<dyn Future<Output = Result<(), HandlerError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Process an envelope.
A handler’s result is “completed” where envelopes are processed upon the previous one
having been processed successfully.
Auto Trait Implementations§
impl<E> RefUnwindSafe for UnusedHandler<E>where E: RefUnwindSafe,
impl<E> Send for UnusedHandler<E>where E: Send,
impl<E> Sync for UnusedHandler<E>where E: Sync,
impl<E> Unpin for UnusedHandler<E>where E: Unpin,
impl<E> UnwindSafe for UnusedHandler<E>where E: 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