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