Enum oci_spec::runtime::LinuxDeviceType
source · pub enum LinuxDeviceType {
A,
B,
C,
U,
P,
}
Expand description
Device types
Variants§
Implementations§
Trait Implementations§
source§impl Clone for LinuxDeviceType
impl Clone for LinuxDeviceType
source§fn clone(&self) -> LinuxDeviceType
fn clone(&self) -> LinuxDeviceType
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 LinuxDeviceType
impl Debug for LinuxDeviceType
source§impl Default for LinuxDeviceType
impl Default for LinuxDeviceType
source§fn default() -> LinuxDeviceType
fn default() -> LinuxDeviceType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LinuxDeviceType
impl<'de> Deserialize<'de> for LinuxDeviceType
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 FromStr for LinuxDeviceType
impl FromStr for LinuxDeviceType
source§impl PartialEq for LinuxDeviceType
impl PartialEq for LinuxDeviceType
source§fn eq(&self, other: &LinuxDeviceType) -> bool
fn eq(&self, other: &LinuxDeviceType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LinuxDeviceType
impl Serialize for LinuxDeviceType
source§impl TryFrom<&str> for LinuxDeviceType
impl TryFrom<&str> for LinuxDeviceType
impl Copy for LinuxDeviceType
impl Eq for LinuxDeviceType
impl StructuralPartialEq for LinuxDeviceType
Auto Trait Implementations§
impl Freeze for LinuxDeviceType
impl RefUnwindSafe for LinuxDeviceType
impl Send for LinuxDeviceType
impl Sync for LinuxDeviceType
impl Unpin for LinuxDeviceType
impl UnwindSafe for LinuxDeviceType
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)