Network

Trait Network 

Source
pub trait Network<'a>:
    Send
    + Clone
    + Default
    + Serialize
    + Deserialize<'a> {
    // Required methods
    fn name(&self) -> String;
    fn set_name(&self, name: String) -> Self;
    fn index(&self) -> Option<u32>;
    fn set_index(&self, index: u32) -> Self;
}

Required Methods§

Source

fn name(&self) -> String

Source

fn set_name(&self, name: String) -> Self

Source

fn index(&self) -> Option<u32>

Source

fn set_index(&self, index: u32) -> Self

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§