#[non_exhaustive]pub enum Vendor {
Apple,
Fortanix,
Nvidia,
Pc,
Sony,
Unknown,
Wrs,
Uwp,
Other(String),
}Expand description
The vendor of the target platform, such as the manufacturer of the hardware or the provider of the operating system.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Apple
Apple Inc.
apple
Fortanix
Fortanix SGX platform
fortanix
Nvidia
NVIDIA Corporation
nvidia
Pc
Generic PC platform
pc
Sony
Sony platform (e.g., PlayStation)
sony
Unknown
Unknown or unspecified vendor
unknown
Wrs
Wind River Systems
wrs
Uwp
Universal Windows Platform
uwp
Other(String)
Unknown value
Implementations§
Trait Implementations§
Source§impl Ord for Vendor
impl Ord for Vendor
Source§impl PartialOrd for Vendor
impl PartialOrd for Vendor
impl Eq for Vendor
impl StructuralPartialEq for Vendor
Auto Trait Implementations§
impl Freeze for Vendor
impl RefUnwindSafe for Vendor
impl Send for Vendor
impl Sync for Vendor
impl Unpin for Vendor
impl UnwindSafe for Vendor
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