pub trait Programable: Sublistable + Clone {
// Required methods
fn get_name(&self) -> String;
fn install(&self) -> Result<(), ExecutionError>;
fn configure(&self) -> Result<(), ExecutionError>;
fn is_installed(&self) -> bool;
}Expand description
Trait that defines basic functionality.
Required Methods§
fn get_name(&self) -> String
fn install(&self) -> Result<(), ExecutionError>
fn configure(&self) -> Result<(), ExecutionError>
fn is_installed(&self) -> bool
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl Programable for Program
Programable implementation for Program.