#[repr(u32)]pub enum P2pStatus {
Ok = 0,
ChipsetNotSupported = 1,
GpuNotSupported = 2,
IoHubNotSupported = 3,
DisabledByRegKey = 4,
NotSupported = 5,
Unknown = 6,
}Variants§
Ok = 0
ChipsetNotSupported = 1
GpuNotSupported = 2
IoHubNotSupported = 3
DisabledByRegKey = 4
NotSupported = 5
Unknown = 6
Trait Implementations§
Source§impl From<P2pStatus> for nvmlGpuP2PStatus_t
impl From<P2pStatus> for nvmlGpuP2PStatus_t
Source§impl From<nvmlGpuP2PStatus_enum> for P2pStatus
impl From<nvmlGpuP2PStatus_enum> for P2pStatus
Source§fn from(value: nvmlGpuP2PStatus_t) -> Self
fn from(value: nvmlGpuP2PStatus_t) -> Self
Converts to this type from the input type.
Source§impl TryFromPrimitive for P2pStatus
impl TryFromPrimitive for P2pStatus
impl Copy for P2pStatus
impl Eq for P2pStatus
impl StructuralPartialEq for P2pStatus
Auto Trait Implementations§
impl Freeze for P2pStatus
impl RefUnwindSafe for P2pStatus
impl Send for P2pStatus
impl Sync for P2pStatus
impl Unpin for P2pStatus
impl UnsafeUnpin for P2pStatus
impl UnwindSafe for P2pStatus
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