#[repr(u32)]pub enum ReportingMode {
    Normal = 0,
    Full = 1,
}Expand description
Defines the kind of error report to be generated when a failure is detected whith no bill being transported.
Variants§
Normal = 0
Normal reporting mode (default): on failure detection, a SimpleFailureReport will saved.
Full = 1
Full reporting mode: on failure detection, a BillTransportErrorReport will saved.
Implementations§
Source§impl ReportingMode
 
impl ReportingMode
Sourcepub const fn new() -> Self
 
pub const fn new() -> Self
Creates a new ReportingMode.
Sourcepub const fn create(val: u32) -> Self
 
pub const fn create(val: u32) -> Self
Creates a new ReportingMode from the provided parameter.
Source§impl ReportingMode
 
impl ReportingMode
Trait Implementations§
Source§impl Clone for ReportingMode
 
impl Clone for ReportingMode
Source§fn clone(&self) -> ReportingMode
 
fn clone(&self) -> ReportingMode
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 ReportingMode
 
impl Debug for ReportingMode
Source§impl Default for ReportingMode
 
impl Default for ReportingMode
Source§fn default() -> ReportingMode
 
fn default() -> ReportingMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReportingMode
 
impl<'de> Deserialize<'de> for ReportingMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ReportingMode
 
impl Display for ReportingMode
Source§impl From<&ReportingMode> for &'static str
 
impl From<&ReportingMode> for &'static str
Source§fn from(val: &ReportingMode) -> Self
 
fn from(val: &ReportingMode) -> Self
Converts to this type from the input type.
Source§impl From<&ReportingMode> for XfsMember
 
impl From<&ReportingMode> for XfsMember
Source§fn from(val: &ReportingMode) -> Self
 
fn from(val: &ReportingMode) -> Self
Converts to this type from the input type.
Source§impl From<&ReportingMode> for XfsValue
 
impl From<&ReportingMode> for XfsValue
Source§fn from(val: &ReportingMode) -> Self
 
fn from(val: &ReportingMode) -> Self
Converts to this type from the input type.
Source§impl From<&ReportingMode> for i32
 
impl From<&ReportingMode> for i32
Source§fn from(val: &ReportingMode) -> Self
 
fn from(val: &ReportingMode) -> Self
Converts to this type from the input type.
Source§impl From<&ReportingMode> for u32
 
impl From<&ReportingMode> for u32
Source§fn from(val: &ReportingMode) -> Self
 
fn from(val: &ReportingMode) -> Self
Converts to this type from the input type.
Source§impl From<&i32> for ReportingMode
 
impl From<&i32> for ReportingMode
Source§impl From<&u32> for ReportingMode
 
impl From<&u32> for ReportingMode
Source§impl From<ReportingMode> for &'static str
 
impl From<ReportingMode> for &'static str
Source§fn from(val: ReportingMode) -> Self
 
fn from(val: ReportingMode) -> Self
Converts to this type from the input type.
Source§impl From<ReportingMode> for XfsMember
 
impl From<ReportingMode> for XfsMember
Source§fn from(val: ReportingMode) -> Self
 
fn from(val: ReportingMode) -> Self
Converts to this type from the input type.
Source§impl From<ReportingMode> for XfsValue
 
impl From<ReportingMode> for XfsValue
Source§fn from(val: ReportingMode) -> Self
 
fn from(val: ReportingMode) -> Self
Converts to this type from the input type.
Source§impl From<ReportingMode> for i32
 
impl From<ReportingMode> for i32
Source§fn from(val: ReportingMode) -> Self
 
fn from(val: ReportingMode) -> Self
Converts to this type from the input type.
Source§impl From<ReportingMode> for u32
 
impl From<ReportingMode> for u32
Source§fn from(val: ReportingMode) -> Self
 
fn from(val: ReportingMode) -> Self
Converts to this type from the input type.
Source§impl From<i32> for ReportingMode
 
impl From<i32> for ReportingMode
Source§impl From<u32> for ReportingMode
 
impl From<u32> for ReportingMode
Source§impl PartialEq for ReportingMode
 
impl PartialEq for ReportingMode
Source§impl Serialize for ReportingMode
 
impl Serialize for ReportingMode
Source§impl TryFrom<&XfsMember> for ReportingMode
 
impl TryFrom<&XfsMember> for ReportingMode
Source§impl TryFrom<&XfsValue> for ReportingMode
 
impl TryFrom<&XfsValue> for ReportingMode
Source§impl TryFrom<XfsMember> for ReportingMode
 
impl TryFrom<XfsMember> for ReportingMode
Source§impl TryFrom<XfsValue> for ReportingMode
 
impl TryFrom<XfsValue> for ReportingMode
impl Copy for ReportingMode
impl StructuralPartialEq for ReportingMode
Auto Trait Implementations§
impl Freeze for ReportingMode
impl RefUnwindSafe for ReportingMode
impl Send for ReportingMode
impl Sync for ReportingMode
impl Unpin for ReportingMode
impl UnwindSafe for ReportingMode
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