Trait Network

Source
pub trait Network:
    Copy
    + Clone
    + Debug
    + Display
    + FromStr
    + Send
    + Sync
    + 'static
    + Eq
    + Ord
    + Sized
    + Hash {
    const NAME: &'static str;
}
Expand description

The interface for a generic network.

Required Associated Constants§

Source

const NAME: &'static str

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§