#[non_exhaustive]pub enum Cloud {
Aws,
Gcp,
Azure,
Oracle,
Alibaba,
Hetzner,
DigitalOcean,
Linode,
Vultr,
Scaleway,
Ovh,
Other,
}Expand description
A cloud vendor, from firmware strings only: sys-lib never contacts a metadata service.
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.
Aws
Amazon Web Services.
Gcp
Google Cloud.
Azure
Microsoft Azure.
Oracle
Oracle Cloud.
Alibaba
Alibaba Cloud.
Hetzner
Hetzner.
DigitalOcean
DigitalOcean.
Linode
Linode (Akamai).
Vultr
Vultr.
Scaleway
Scaleway.
Ovh
OVHcloud.
Other
A cloud sys-lib cannot name.
Trait Implementations§
impl Copy for Cloud
impl Eq for Cloud
impl StructuralPartialEq for Cloud
Auto Trait Implementations§
impl Forget for Cloud
impl Freeze for Cloud
impl Move for Cloud
impl RefUnwindSafe for Cloud
impl Send for Cloud
impl Sync for Cloud
impl Unpin for Cloud
impl UnsafeUnpin for Cloud
impl UnwindSafe for Cloud
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