pub trait ProtocolState: Sealed {
const PROTOCOL: Protocol;
}Expand description
Protocol state trait for typed connections.
This trait is sealed and cannot be implemented outside this crate. Each implementation provides:
- The underlying netlink protocol constant
- Protocol-specific state (if any)
Types that implement Default can use the generic Connection::new().
Types that require special initialization should provide their own constructor.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".