Enum mlx_ethernet::command_queue::HcaPortType
source · #[repr(u8)]pub enum HcaPortType {
IB = 0,
Ethernet = 1,
}
Expand description
Possible values of the port type field returned when retrieving device capabilities using the command CommandOpcode::QueryHcaCap
.
Variants§
Trait Implementations§
source§impl Debug for HcaPortType
impl Debug for HcaPortType
source§impl TryFrom<u8> for HcaPortType
impl TryFrom<u8> for HcaPortType
Auto Trait Implementations§
impl RefUnwindSafe for HcaPortType
impl Send for HcaPortType
impl Sync for HcaPortType
impl Unpin for HcaPortType
impl UnwindSafe for HcaPortType
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