pub trait Example: Send + Sync {
// Required methods
fn description(&self) -> String;
fn page_source(&self) -> usize;
fn main(&self) -> Result<()>;
}
Expand description
Example Trait
pub trait Example: Send + Sync {
// Required methods
fn description(&self) -> String;
fn page_source(&self) -> usize;
fn main(&self) -> Result<()>;
}
Example Trait