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