#[repr(u32)]pub enum LinkSpeed {
Speed2_5GtS = 1,
Speed5_0GtS = 2,
Speed8_0GtS = 3,
Speed16_0GtS = 4,
Speed32_0GtS = 5,
Speed64_0GtS = 6,
}Expand description
PCIe Link Speed encoding values for use in Link Capabilities and other registers.
Values are defined in PCIe Base Specification for the Max Link Speed field in Link Capabilities Register and similar fields.
Variants§
Speed2_5GtS = 1
2.5 GT/s link speed
Speed5_0GtS = 2
5.0 GT/s link speed
Speed8_0GtS = 3
8.0 GT/s link speed
Speed16_0GtS = 4
16.0 GT/s link speed
Speed32_0GtS = 5
32.0 GT/s link speed
Speed64_0GtS = 6
64.0 GT/s link speed
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LinkSpeed
impl RefUnwindSafe for LinkSpeed
impl Send for LinkSpeed
impl Sync for LinkSpeed
impl Unpin for LinkSpeed
impl UnwindSafe for LinkSpeed
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