Enum rust_gpu_tools::UniqueId [−][src]
pub enum UniqueId {
PciId(PciId),
Uuid(DeviceUuid),
}
Expand description
Unique identifier that can either be a PCI ID or a UUID.
Variants
PciId(PciId)
ID based on the PCI bus.
Tuple Fields of PciId
0: PciId
Uuid(DeviceUuid)
ID based on a globally unique identifier.
Tuple Fields of Uuid
0: DeviceUuid
Trait Implementations
If the string contains a dash, it’s interpreted as UUID, else it’s interpreted as PCI ID.
Auto Trait Implementations
impl RefUnwindSafe for UniqueId
impl UnwindSafe for UniqueId
Blanket Implementations
Mutably borrows from an owned value. Read more