#[non_exhaustive]
pub enum BlockDeviceDestinationType {
Local,
Volume,
}
Expand description
A destination type for a block device.
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.
Trait Implementations§
source§impl Clone for BlockDeviceDestinationType
impl Clone for BlockDeviceDestinationType
source§fn clone(&self) -> BlockDeviceDestinationType
fn clone(&self) -> BlockDeviceDestinationType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BlockDeviceDestinationType
impl Debug for BlockDeviceDestinationType
source§impl<'de> Deserialize<'de> for BlockDeviceDestinationType
impl<'de> Deserialize<'de> for BlockDeviceDestinationType
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for BlockDeviceDestinationType
impl Display for BlockDeviceDestinationType
source§impl From<BlockDeviceDestinationType> for String
impl From<BlockDeviceDestinationType> for String
source§fn from(value: BlockDeviceDestinationType) -> String
fn from(value: BlockDeviceDestinationType) -> String
Converts to this type from the input type.
source§impl PartialEq<BlockDeviceDestinationType> for BlockDeviceDestinationType
impl PartialEq<BlockDeviceDestinationType> for BlockDeviceDestinationType
source§fn eq(&self, other: &BlockDeviceDestinationType) -> bool
fn eq(&self, other: &BlockDeviceDestinationType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BlockDeviceDestinationType
impl Eq for BlockDeviceDestinationType
impl StructuralEq for BlockDeviceDestinationType
impl StructuralPartialEq for BlockDeviceDestinationType
Auto Trait Implementations§
impl RefUnwindSafe for BlockDeviceDestinationType
impl Send for BlockDeviceDestinationType
impl Sync for BlockDeviceDestinationType
impl Unpin for BlockDeviceDestinationType
impl UnwindSafe for BlockDeviceDestinationType
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.