pub struct MessageRecoveryHandler<A: PersistentActor, M: Message>(/* private fields */);Implementations§
Source§impl<A: PersistentActor, M: Message> MessageRecoveryHandler<A, M>
impl<A: PersistentActor, M: Message> MessageRecoveryHandler<A, M>
Trait Implementations§
Source§impl<A, M: Message> RecoveryHandler<A> for MessageRecoveryHandler<A, M>where
A: Recover<M> + PersistentActor,
impl<A, M: Message> RecoveryHandler<A> for MessageRecoveryHandler<A, M>where
A: Recover<M> + PersistentActor,
fn recover<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
actor: &'life1 mut A,
sequence_id: i64,
bytes: Vec<u8>,
ctx: &'life2 mut ActorContext,
) -> Pin<Box<dyn Future<Output = Result<(), RecoveryErr>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl<A, M> Freeze for MessageRecoveryHandler<A, M>
impl<A, M> RefUnwindSafe for MessageRecoveryHandler<A, M>where
A: RefUnwindSafe,
M: RefUnwindSafe,
impl<A, M> Send for MessageRecoveryHandler<A, M>
impl<A, M> Sync for MessageRecoveryHandler<A, M>
impl<A, M> Unpin for MessageRecoveryHandler<A, M>
impl<A, M> UnsafeUnpin for MessageRecoveryHandler<A, M>
impl<A, M> UnwindSafe for MessageRecoveryHandler<A, M>where
A: UnwindSafe,
M: 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