eryon_core/ops/
execute.rs

1/*
2    Appellation: execute <module>
3    Contrib: @FL03
4*/
5
6/// A trait denoting the ability to execute a given operation, transaction, etc.
7pub trait Execute<Rhs> {
8    type Output;
9
10    fn execute(self, rhs: Rhs) -> Self::Output;
11}
12
13pub trait ExecuteMut<Rhs> {
14    type Output;
15
16    fn execute_mut(&mut self, rhs: Rhs) -> Self::Output;
17}