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§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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
)