Trait BaseSettings

Source
pub trait BaseSettings {
    // Required methods
    fn get_type(&self) -> BussSettings;
    fn get_body(&self) -> Vec<u8> ;
}
Expand description

Provides easy conversion of various settings type into binary data

Required Methods§

Source

fn get_type(&self) -> BussSettings

Get the BussSettings type this setting represents

Source

fn get_body(&self) -> Vec<u8>

Get the body in bytes of this settings

Implementors§