pub struct UpdateContextUseCase<E, W = NoopProjectionWriter> { /* private fields */ }Implementations§
Source§impl<E> UpdateContextUseCase<E, NoopProjectionWriter>
impl<E> UpdateContextUseCase<E, NoopProjectionWriter>
Source§impl<E, W> UpdateContextUseCase<E, W>
impl<E, W> UpdateContextUseCase<E, W>
pub fn new_with_projection_writer( event_store: Arc<E>, projection_writer: W, generator_version: &'static str, ) -> Self
pub async fn execute( &self, command: UpdateContextCommand, ) -> Result<UpdateContextOutcome, ApplicationError>
Trait Implementations§
Auto Trait Implementations§
impl<E, W> Freeze for UpdateContextUseCase<E, W>where
W: Freeze,
impl<E, W> RefUnwindSafe for UpdateContextUseCase<E, W>where
W: RefUnwindSafe,
E: RefUnwindSafe,
impl<E, W> Send for UpdateContextUseCase<E, W>
impl<E, W> Sync for UpdateContextUseCase<E, W>
impl<E, W> Unpin for UpdateContextUseCase<E, W>where
W: Unpin,
impl<E, W> UnsafeUnpin for UpdateContextUseCase<E, W>where
W: UnsafeUnpin,
impl<E, W> UnwindSafe for UpdateContextUseCase<E, W>where
W: UnwindSafe,
E: RefUnwindSafe,
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