Programable

Trait Programable 

Source
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§

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§

Source§

impl Programable for Program

Programable implementation for Program.