#[repr(transparent)]pub struct BootSvcKind(pub u32);
Tuple Fields§
§0: u32
Implementations§
Source§impl BootSvcKind
impl BootSvcKind
pub const Unknown: BootSvcKind = _
pub const EmptyRequest: BootSvcKind = _
pub const EmptyResponse: BootSvcKind = _
pub const MinBl0SecVerRequest: BootSvcKind = _
pub const MinBl0SecVerResponse: BootSvcKind = _
pub const NextBl0SlotRequest: BootSvcKind = _
pub const NextBl0SlotResponse: BootSvcKind = _
pub const OwnershipUnlockRequest: BootSvcKind = _
pub const OwnershipUnlockResponse: BootSvcKind = _
pub const OwnershipActivateRequest: BootSvcKind = _
pub const OwnershipActivateResponse: BootSvcKind = _
Source§impl BootSvcKind
impl BootSvcKind
Trait Implementations§
Source§impl Binary for BootSvcKind
impl Binary for BootSvcKind
Source§impl Clone for BootSvcKind
impl Clone for BootSvcKind
Source§fn clone(&self) -> BootSvcKind
fn clone(&self) -> BootSvcKind
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 BootSvcKind
impl Debug for BootSvcKind
Source§impl Default for BootSvcKind
impl Default for BootSvcKind
Source§impl<'de> Deserialize<'de> for BootSvcKind
impl<'de> Deserialize<'de> for BootSvcKind
Source§fn deserialize<D>(deserializer: D) -> Result<BootSvcKind, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<BootSvcKind, D::Error>where
D: Deserializer<'de>,
Deserializes the value by forwarding to deserialize_any
.
deserialize_any
will forward strings to the string visitor
and forward integers to the appropriate integer visitor.
Source§impl Display for BootSvcKind
impl Display for BootSvcKind
Source§impl From<BootSvcKind> for u32
impl From<BootSvcKind> for u32
Source§fn from(v: BootSvcKind) -> u32
fn from(v: BootSvcKind) -> u32
Converts to this type from the input type.
Source§impl FromStr for BootSvcKind
impl FromStr for BootSvcKind
Source§impl Hash for BootSvcKind
impl Hash for BootSvcKind
Source§impl LowerHex for BootSvcKind
impl LowerHex for BootSvcKind
Source§impl Octal for BootSvcKind
impl Octal for BootSvcKind
Source§impl Ord for BootSvcKind
impl Ord for BootSvcKind
Source§fn cmp(&self, other: &BootSvcKind) -> Ordering
fn cmp(&self, other: &BootSvcKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BootSvcKind
impl PartialEq for BootSvcKind
Source§impl PartialOrd for BootSvcKind
impl PartialOrd for BootSvcKind
Source§impl Serialize for BootSvcKind
impl Serialize for BootSvcKind
Source§impl TryFrom<i16> for BootSvcKind
impl TryFrom<i16> for BootSvcKind
Source§impl TryFrom<i32> for BootSvcKind
impl TryFrom<i32> for BootSvcKind
Source§impl TryFrom<i64> for BootSvcKind
impl TryFrom<i64> for BootSvcKind
Source§impl TryFrom<i8> for BootSvcKind
impl TryFrom<i8> for BootSvcKind
Source§impl TryFrom<u16> for BootSvcKind
impl TryFrom<u16> for BootSvcKind
Source§impl TryFrom<u32> for BootSvcKind
impl TryFrom<u32> for BootSvcKind
Source§impl TryFrom<u64> for BootSvcKind
impl TryFrom<u64> for BootSvcKind
Source§impl TryFrom<u8> for BootSvcKind
impl TryFrom<u8> for BootSvcKind
Source§impl UpperHex for BootSvcKind
impl UpperHex for BootSvcKind
Source§impl ValueEnum for BootSvcKind
impl ValueEnum for BootSvcKind
impl Copy for BootSvcKind
impl Eq for BootSvcKind
impl StructuralPartialEq for BootSvcKind
Auto Trait Implementations§
impl Freeze for BootSvcKind
impl RefUnwindSafe for BootSvcKind
impl Send for BootSvcKind
impl Sync for BootSvcKind
impl Unpin for BootSvcKind
impl UnwindSafe for BootSvcKind
Blanket Implementations§
§impl<T> Annotate for T
impl<T> Annotate for T
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
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