Trait TransContextObject

Source
pub trait TransContextObject {
    // Required methods
    fn new(dec_id: Option<ObjectId>, context_path: &str) -> Self;
    fn gen_context_id(dec_id: Option<ObjectId>, context_path: &str) -> ObjectId;
    fn context_path(&self) -> &str;
    fn device_list(&self) -> &Vec<TransContextDevice>;
    fn device_list_mut(&mut self) -> &mut Vec<TransContextDevice>;
}

Required Methods§

Source

fn new(dec_id: Option<ObjectId>, context_path: &str) -> Self

Source

fn gen_context_id(dec_id: Option<ObjectId>, context_path: &str) -> ObjectId

Source

fn context_path(&self) -> &str

Source

fn device_list(&self) -> &Vec<TransContextDevice>

Source

fn device_list_mut(&mut self) -> &mut Vec<TransContextDevice>

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§