#[repr(u8)]pub enum NvdmDataItemType {
RawData = 1,
String = 2,
Unknown = 0,
}Expand description
Enum representing the type of an NVDM data item.
Variants§
RawData = 1
Raw binary data with no implicit encoding.
String = 2
Null-terminated or length-delimited UTF-8 string data.
Unknown = 0
Trait Implementations§
Source§impl Clone for NvdmDataItemType
impl Clone for NvdmDataItemType
Source§fn clone(&self) -> NvdmDataItemType
fn clone(&self) -> NvdmDataItemType
Returns a duplicate 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 NvdmDataItemType
impl Debug for NvdmDataItemType
Source§impl<'de> Deserialize<'de> for NvdmDataItemType
impl<'de> Deserialize<'de> for NvdmDataItemType
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 PartialEq for NvdmDataItemType
impl PartialEq for NvdmDataItemType
Source§impl Serialize for NvdmDataItemType
impl Serialize for NvdmDataItemType
Source§impl TryFrom<u8> for NvdmDataItemType
impl TryFrom<u8> for NvdmDataItemType
impl Copy for NvdmDataItemType
impl StructuralPartialEq for NvdmDataItemType
Auto Trait Implementations§
impl Freeze for NvdmDataItemType
impl RefUnwindSafe for NvdmDataItemType
impl Send for NvdmDataItemType
impl Sync for NvdmDataItemType
impl Unpin for NvdmDataItemType
impl UnwindSafe for NvdmDataItemType
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more