Struct smbioslib::VendorId[][src]

pub struct VendorId<'a> {
    pub array: &'a [u8; 4],
}

Vendor Id

Specified as four ASCII characters, as defined by TCG Vendor ID (see CAP_VID in TCG Vendor ID Registry)

Fields

array: &'a [u8; 4]

Raw array

Example: Vendor Id string of “ABC” = (41 42 43 00)

Trait Implementations

impl<'a> Debug for VendorId<'a>[src]

impl<'a> Eq for VendorId<'a>[src]

impl<'a> PartialEq<VendorId<'a>> for VendorId<'a>[src]

impl<'a> StructuralEq for VendorId<'a>[src]

impl<'a> StructuralPartialEq for VendorId<'a>[src]

impl<'a> TryFrom<&'a [u8]> for VendorId<'a>[src]

type Error = TryFromSliceError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<'a> RefUnwindSafe for VendorId<'a>

impl<'a> Send for VendorId<'a>

impl<'a> Sync for VendorId<'a>

impl<'a> Unpin for VendorId<'a>

impl<'a> UnwindSafe for VendorId<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.