pub trait Stated {
type Item;
// Required methods
fn get(self) -> Self::Item;
fn get_ref(&self) -> &Self::Item;
fn get_mut(&mut self) -> &mut Self::Item;
fn set(&mut self, inner: Self::Item);
}Expand description
The Stated trait defines the interface for stateful implementations in the library.