1// This is free and unencumbered software released into the public domain.
23use async_trait::async_trait;
4use dogma::prelude::{Box, Result};
56/// Asynchronous execution with error handling.
7#[async_trait]
8pub trait Execute<T, E> {
9async fn execute(&mut self) -> Result<T, E>;
10}