Trait TView

Source
pub trait TView<T> {
    // Required methods
    fn wr(&mut self, p: impl TPacket) -> Result<(), Box<dyn Error>>;
    fn reg(&mut self, c: Vec<T>);
    fn col(&self, n: u16) -> T;
}
Expand description

trait TView

Required Methods§

Source

fn wr(&mut self, p: impl TPacket) -> Result<(), Box<dyn Error>>

wr

Source

fn reg(&mut self, c: Vec<T>)

reg

Source

fn col(&self, n: u16) -> T

col

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§