Skip to main content

ConfigSpaceKind

Trait ConfigSpaceKind 

Source
pub trait ConfigSpaceKind {
    const SIZE: usize;
}
Expand description

Trait for PCI configuration space size markers.

This trait is implemented by Normal and Extended to provide compile-time knowledge of the configuration space size.

Required Associated Constants§

Source

const SIZE: usize

The size of this configuration space in bytes.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§