Skip to main content

Bridge

Trait Bridge 

Source
pub trait Bridge {
    // Required methods
    fn hw_address(&self) -> Result<String, Error>;
    fn carrier(&self) -> Result<bool, Error>;
    fn slaves(&self) -> Result<Vec<Device>, Error>;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§