pub struct OutboxProcessor<S, P>{ /* private fields */ }Implementations§
Source§impl<S, P> OutboxProcessor<S, P>
impl<S, P> OutboxProcessor<S, P>
pub fn new(storage: S, publisher: P, config: Arc<OutboxConfig>) -> Self
pub async fn process_pending_events(&self) -> Result<usize, OutboxError>
Auto Trait Implementations§
impl<S, P> Freeze for OutboxProcessor<S, P>
impl<S, P> RefUnwindSafe for OutboxProcessor<S, P>where
S: RefUnwindSafe,
P: RefUnwindSafe,
impl<S, P> Send for OutboxProcessor<S, P>where
S: Send,
impl<S, P> Sync for OutboxProcessor<S, P>where
S: Sync,
impl<S, P> Unpin for OutboxProcessor<S, P>
impl<S, P> UnsafeUnpin for OutboxProcessor<S, P>where
S: UnsafeUnpin,
P: UnsafeUnpin,
impl<S, P> UnwindSafe for OutboxProcessor<S, P>where
S: UnwindSafe,
P: 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