#[repr(u32)]pub enum StatusCodeInfoType {
NotUsed = 0,
DataValue = 1,
}Expand description
Whether the status code represents a data value or something else.
Variants§
NotUsed = 0
Info bits are not used and shall be zero.
DataValue = 1
Status code is associated with a data value.
Implementations§
Source§impl StatusCodeInfoType
impl StatusCodeInfoType
Sourcepub fn from_value(val: u32) -> Option<Self>
pub fn from_value(val: u32) -> Option<Self>
Create an enum variant from a numeric value.
Source§impl StatusCodeInfoType
impl StatusCodeInfoType
Sourcepub fn description(&self) -> &'static str
pub fn description(&self) -> &'static str
Enum variant description.
Trait Implementations§
Source§impl Clone for StatusCodeInfoType
impl Clone for StatusCodeInfoType
Source§fn clone(&self) -> StatusCodeInfoType
fn clone(&self) -> StatusCodeInfoType
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 StatusCodeInfoType
impl Debug for StatusCodeInfoType
Source§impl Display for StatusCodeInfoType
impl Display for StatusCodeInfoType
Source§impl FromStr for StatusCodeInfoType
impl FromStr for StatusCodeInfoType
Source§impl Hash for StatusCodeInfoType
impl Hash for StatusCodeInfoType
Source§impl PartialEq for StatusCodeInfoType
impl PartialEq for StatusCodeInfoType
impl Copy for StatusCodeInfoType
impl Eq for StatusCodeInfoType
impl StructuralPartialEq for StatusCodeInfoType
Auto Trait Implementations§
impl Freeze for StatusCodeInfoType
impl RefUnwindSafe for StatusCodeInfoType
impl Send for StatusCodeInfoType
impl Sync for StatusCodeInfoType
impl Unpin for StatusCodeInfoType
impl UnwindSafe for StatusCodeInfoType
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.