pub trait Backend: Sync + Send {
// Required methods
fn total_in(&self) -> u64;
fn total_out(&self) -> u64;
}
Expand description
Traits specifying the interface of the backends.
Sync + Send are added as a condition to ensure they are available for the frontend.