pub trait Action<L, E>{
// Required methods
fn validate(c: &mut L) -> Result<Self, E>
where Self: Sized;
fn action(&self, c: &mut L) -> Result<ActionOutput, E>
where Self: Sized;
}pub trait Action<L, E>{
// Required methods
fn validate(c: &mut L) -> Result<Self, E>
where Self: Sized;
fn action(&self, c: &mut L) -> Result<ActionOutput, E>
where Self: Sized;
}