#[repr(u32)]pub enum SupportedLinkSpeedsVector {
UpToGen1 = 1,
UpToGen2 = 3,
UpToGen3 = 7,
UpToGen4 = 15,
UpToGen5 = 31,
UpToGen6 = 63,
}Expand description
PCIe Supported Link Speeds Vector encoding values for use in Link Capabilities 2 register.
Values are defined in PCIe Base Specification for the Supported Link Speeds Vector field in Link Capabilities 2 Register. Each bit represents support for a specific generation.
Variants§
UpToGen1 = 1
Support up to Gen 1 (2.5 GT/s)
UpToGen2 = 3
Support up to Gen 2 (5.0 GT/s)
UpToGen3 = 7
Support up to Gen 3 (8.0 GT/s)
UpToGen4 = 15
Support up to Gen 4 (16.0 GT/s)
UpToGen5 = 31
Support up to Gen 5 (32.0 GT/s)
UpToGen6 = 63
Support up to Gen 6 (64.0 GT/s)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SupportedLinkSpeedsVector
impl RefUnwindSafe for SupportedLinkSpeedsVector
impl Send for SupportedLinkSpeedsVector
impl Sync for SupportedLinkSpeedsVector
impl Unpin for SupportedLinkSpeedsVector
impl UnwindSafe for SupportedLinkSpeedsVector
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more