pub trait TargetTable: Clone + Debug + Display + Eq + PartialEq + Sized {
    // Required methods
    fn from_raw_table(table: &[(u64, u64, String, String)]) -> DmResult<Self>;
    fn to_raw_table(&self) -> Vec<(u64, u64, String, String)>;
}
Expand description

Manages a target’s table

Required Methods§

source

fn from_raw_table(table: &[(u64, u64, String, String)]) -> DmResult<Self>

Constructs a table from a raw table returned by DM::table_status()

source

fn to_raw_table(&self) -> Vec<(u64, u64, String, String)>

Generates a table that can be loaded by DM::table_load()

Object Safety§

This trait is not object safe.

Implementors§