pub trait Interface {
type Actor;
type Client;
type Context;
type Data;
fn authenticate(&self, actor: Self::Actor) -> bool;
fn constructor(&self, data: Self::Data) -> Self;
}pub trait Interface {
type Actor;
type Client;
type Context;
type Data;
fn authenticate(&self, actor: Self::Actor) -> bool;
fn constructor(&self, data: Self::Data) -> Self;
}