#[repr(transparent)]pub struct CommandTag(pub u32);
Tuple Fields§
§0: u32
Implementations§
Source§impl CommandTag
impl CommandTag
pub const Unknown: CommandTag = _
pub const Empty: CommandTag = _
pub const MinBl0SecVerRequest: CommandTag = _
pub const NextBl0SlotRequest: CommandTag = _
pub const OwnershipUnlockRequest: CommandTag = _
pub const OwnershipActivateRequest: CommandTag = _
pub const Rescue: CommandTag = _
pub const RescueB: CommandTag = _
pub const Reboot: CommandTag = _
pub const GetBootLog: CommandTag = _
pub const BootSvcReq: CommandTag = _
pub const BootSvcRsp: CommandTag = _
pub const OwnerBlock: CommandTag = _
pub const GetOwnerPage0: CommandTag = _
pub const GetOwnerPage1: CommandTag = _
pub const GetDeviceId: CommandTag = _
pub const Wait: CommandTag = _
Source§impl CommandTag
impl CommandTag
Trait Implementations§
Source§impl Binary for CommandTag
impl Binary for CommandTag
Source§impl Clone for CommandTag
impl Clone for CommandTag
Source§fn clone(&self) -> CommandTag
fn clone(&self) -> CommandTag
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 CommandTag
impl Debug for CommandTag
Source§impl Default for CommandTag
impl Default for CommandTag
Source§impl<'de> Deserialize<'de> for CommandTag
impl<'de> Deserialize<'de> for CommandTag
Source§fn deserialize<D>(deserializer: D) -> Result<CommandTag, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<CommandTag, 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 CommandTag
impl Display for CommandTag
Source§impl From<CommandTag> for u32
impl From<CommandTag> for u32
Source§fn from(v: CommandTag) -> u32
fn from(v: CommandTag) -> u32
Converts to this type from the input type.
Source§impl FromStr for CommandTag
impl FromStr for CommandTag
Source§impl Hash for CommandTag
impl Hash for CommandTag
Source§impl LowerHex for CommandTag
impl LowerHex for CommandTag
Source§impl Octal for CommandTag
impl Octal for CommandTag
Source§impl Ord for CommandTag
impl Ord for CommandTag
Source§fn cmp(&self, other: &CommandTag) -> Ordering
fn cmp(&self, other: &CommandTag) -> 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 CommandTag
impl PartialEq for CommandTag
Source§impl PartialOrd for CommandTag
impl PartialOrd for CommandTag
Source§impl Serialize for CommandTag
impl Serialize for CommandTag
Source§impl TryFrom<i16> for CommandTag
impl TryFrom<i16> for CommandTag
Source§impl TryFrom<i32> for CommandTag
impl TryFrom<i32> for CommandTag
Source§impl TryFrom<i64> for CommandTag
impl TryFrom<i64> for CommandTag
Source§impl TryFrom<i8> for CommandTag
impl TryFrom<i8> for CommandTag
Source§impl TryFrom<u16> for CommandTag
impl TryFrom<u16> for CommandTag
Source§impl TryFrom<u32> for CommandTag
impl TryFrom<u32> for CommandTag
Source§impl TryFrom<u64> for CommandTag
impl TryFrom<u64> for CommandTag
Source§impl TryFrom<u8> for CommandTag
impl TryFrom<u8> for CommandTag
Source§impl UpperHex for CommandTag
impl UpperHex for CommandTag
Source§impl ValueEnum for CommandTag
impl ValueEnum for CommandTag
impl Copy for CommandTag
impl Eq for CommandTag
impl StructuralPartialEq for CommandTag
Auto Trait Implementations§
impl Freeze for CommandTag
impl RefUnwindSafe for CommandTag
impl Send for CommandTag
impl Sync for CommandTag
impl Unpin for CommandTag
impl UnwindSafe for CommandTag
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