pub struct EventServices {
pub publisher: Arc<dyn EventPublisher>,
pub outbox: Arc<dyn OutboxStore>,
}Fields§
§publisher: Arc<dyn EventPublisher>§outbox: Arc<dyn OutboxStore>Implementations§
Source§impl EventServices
impl EventServices
Sourcepub async fn dispatch_once(
&self,
worker_id: &str,
limit: usize,
lease: TimeDelta,
) -> Result<DispatchReport, EventError>
pub async fn dispatch_once( &self, worker_id: &str, limit: usize, lease: TimeDelta, ) -> Result<DispatchReport, EventError>
Executes one bounded, explicit outbox-dispatch pass.
Minco never schedules this automatically. Applications choose request-assisted delivery, an SQS-triggered worker, an operator command, or an explicitly costed recovery schedule.
Trait Implementations§
Source§impl Clone for EventServices
impl Clone for EventServices
Source§fn clone(&self) -> EventServices
fn clone(&self) -> EventServices
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for EventServices
impl !UnwindSafe for EventServices
impl Freeze for EventServices
impl Send for EventServices
impl Sync for EventServices
impl Unpin for EventServices
impl UnsafeUnpin for EventServices
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