#[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>
Try to create this enum from a u32 value.
Source§impl StatusCodeInfoType
impl StatusCodeInfoType
Sourcepub fn description(&self) -> &'static str
pub fn description(&self) -> &'static str
Return a string description of this enum value.
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoPatchItem<UpdateSet<T>> for T
impl<T> IntoPatchItem<UpdateSet<T>> for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.