pub struct OutboxBuilder<E> { /* private fields */ }Implementations§
Source§impl<E: Clone + Send + 'static> OutboxBuilder<E>
impl<E: Clone + Send + 'static> OutboxBuilder<E>
pub fn name(self, n: impl Into<String>) -> Self
pub fn read_journal<R: ReadJournal>(self, rj: Arc<R>) -> Self
pub fn poll_interval(self, d: Duration) -> Self
pub fn decode<F>(self, f: F) -> Self
pub fn publish<F, Fut>(self, f: F) -> Self
pub fn offset_store<S: OutboxOffsetStore>(self, s: Arc<S>) -> Self
pub fn build(self) -> Result<OutboxTopology<E>, PatternError<()>>
Auto Trait Implementations§
impl<E> Freeze for OutboxBuilder<E>
impl<E> !RefUnwindSafe for OutboxBuilder<E>
impl<E> Send for OutboxBuilder<E>
impl<E> Sync for OutboxBuilder<E>
impl<E> Unpin for OutboxBuilder<E>
impl<E> UnsafeUnpin for OutboxBuilder<E>
impl<E> !UnwindSafe for OutboxBuilder<E>
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