Struct SystemFailureHistory

Source
#[repr(C)]
pub struct SystemFailureHistory { /* private fields */ }
Expand description

Represents the history of system failure events.

Implementations§

Source§

impl SystemFailureHistory

Source

pub const fn new() -> Self

Creates a new SystemFailureHistory.

Source

pub const fn hardware_failure_count(&self) -> &HardwareFailureCount

Source

pub fn set_hardware_failure_count(&mut self, val: HardwareFailureCount)

Source

pub fn with_hardware_failure_count(self, val: HardwareFailureCount) -> Self

Builder function that sets the HardwareFailureCount for SystemFailureHistory.

Source

pub const fn hardware_failure_with_bill_stopped_count( &self, ) -> &HardwareFailureWithBillStoppedCount

Source

pub fn set_hardware_failure_with_bill_stopped_count( &mut self, val: HardwareFailureWithBillStoppedCount, )

Source

pub fn with_hardware_failure_with_bill_stopped_count( self, val: HardwareFailureWithBillStoppedCount, ) -> Self

Builder function that sets the HardwareFailureWithBillStoppedCount for SystemFailureHistory.

Source

pub const fn operational_degraded_count(&self) -> &OperationalDegradedCount

Source

pub fn set_operational_degraded_count(&mut self, val: OperationalDegradedCount)

Source

pub fn with_operational_degraded_count( self, val: OperationalDegradedCount, ) -> Self

Builder function that sets the OperationalDegradedCount for SystemFailureHistory.

Source

pub const fn bill_jam_count(&self) -> &BillJamCount

Source

pub fn set_bill_jam_count(&mut self, val: BillJamCount)

Source

pub fn with_bill_jam_count(self, val: BillJamCount) -> Self

Builder function that sets the BillJamCount for SystemFailureHistory.

Source

pub const fn environment_error_count(&self) -> &EnvironmentErrorCount

Source

pub fn set_environment_error_count(&mut self, val: EnvironmentErrorCount)

Source

pub fn with_environment_error_count(self, val: EnvironmentErrorCount) -> Self

Builder function that sets the EnvironmentErrorCount for SystemFailureHistory.

Source

pub const fn bill_error_count(&self) -> &BillErrorCount

Source

pub fn set_bill_error_count(&mut self, val: BillErrorCount)

Source

pub fn with_bill_error_count(self, val: BillErrorCount) -> Self

Builder function that sets the BillErrorCount for SystemFailureHistory.

Source

pub const fn transport_error_count(&self) -> &TransportErrorCount

Source

pub fn set_transport_error_count(&mut self, val: TransportErrorCount)

Source

pub fn with_transport_error_count(self, val: TransportErrorCount) -> Self

Builder function that sets the TransportErrorCount for SystemFailureHistory.

Source

pub const fn bill_too_short_in_bottom_transport_bw_count( &self, ) -> &BillTooShortInBottomTransportBwCount

Source

pub fn set_bill_too_short_in_bottom_transport_bw_count( &mut self, val: BillTooShortInBottomTransportBwCount, )

Source

pub fn with_bill_too_short_in_bottom_transport_bw_count( self, val: BillTooShortInBottomTransportBwCount, ) -> Self

Builder function that sets the BillTooShortInBottomTransportBwCount for SystemFailureHistory.

Source

pub const fn bill_too_long_in_bottom_transport_bw_count( &self, ) -> &BillTooLongInBottomTransportBwCount

Source

pub fn set_bill_too_long_in_bottom_transport_bw_count( &mut self, val: BillTooLongInBottomTransportBwCount, )

Source

pub fn with_bill_too_long_in_bottom_transport_bw_count( self, val: BillTooLongInBottomTransportBwCount, ) -> Self

Builder function that sets the BillTooLongInBottomTransportBwCount for SystemFailureHistory.

Source

pub const fn bill_too_short_in_spine_fw_count( &self, ) -> &BillTooShortInSpineFwCount

Source

pub fn set_bill_too_short_in_spine_fw_count( &mut self, val: BillTooShortInSpineFwCount, )

Source

pub fn with_bill_too_short_in_spine_fw_count( self, val: BillTooShortInSpineFwCount, ) -> Self

Builder function that sets the BillTooShortInSpineFwCount for SystemFailureHistory.

Source

pub const fn bill_too_long_in_spine_fw_count( &self, ) -> &BillTooLongInSpineFwCount

Source

pub fn set_bill_too_long_in_spine_fw_count( &mut self, val: BillTooLongInSpineFwCount, )

Source

pub fn with_bill_too_long_in_spine_fw_count( self, val: BillTooLongInSpineFwCount, ) -> Self

Builder function that sets the BillTooLongInSpineFwCount for SystemFailureHistory.

Source

pub const fn missing_module_count(&self) -> &MissingModuleCount

Source

pub fn set_missing_module_count(&mut self, val: MissingModuleCount)

Source

pub fn with_missing_module_count(self, val: MissingModuleCount) -> Self

Builder function that sets the MissingModuleCount for SystemFailureHistory.

Source

pub const fn configuration_error_count(&self) -> &ConfigurationErrorCount

Source

pub fn set_configuration_error_count(&mut self, val: ConfigurationErrorCount)

Source

pub fn with_configuration_error_count( self, val: ConfigurationErrorCount, ) -> Self

Builder function that sets the ConfigurationErrorCount for SystemFailureHistory.

Source

pub const fn incompatible_software_count(&self) -> &IncompatibleSoftwareCount

Source

pub fn set_incompatible_software_count( &mut self, val: IncompatibleSoftwareCount, )

Source

pub fn with_incompatible_software_count( self, val: IncompatibleSoftwareCount, ) -> Self

Builder function that sets the IncompatibleSoftwareCount for SystemFailureHistory.

Source

pub const fn reset_with_cover_open_count(&self) -> &ResetWithCoverOpenCount

Source

pub fn set_reset_with_cover_open_count(&mut self, val: ResetWithCoverOpenCount)

Source

pub fn with_reset_with_cover_open_count( self, val: ResetWithCoverOpenCount, ) -> Self

Builder function that sets the ResetWithCoverOpenCount for SystemFailureHistory.

Source

pub const fn reset_with_interlock_open_count( &self, ) -> &ResetWithInterlockOpenCount

Source

pub fn set_reset_with_interlock_open_count( &mut self, val: ResetWithInterlockOpenCount, )

Source

pub fn with_reset_with_interlock_open_count( self, val: ResetWithInterlockOpenCount, ) -> Self

Builder function that sets the ResetWithInterlockOpenCount for SystemFailureHistory.

Source

pub const fn per_section_history(&self) -> &PerSectionHistory

Source

pub fn set_per_section_history(&mut self, val: PerSectionHistory)

Source

pub fn with_per_section_history(self, val: PerSectionHistory) -> Self

Builder function that sets the PerSectionHistory for SystemFailureHistory.

Source§

impl SystemFailureHistory

Source

pub const fn xfs_name() -> &'static str

Gets the XfsMember name.

Trait Implementations§

Source§

impl Clone for SystemFailureHistory

Source§

fn clone(&self) -> SystemFailureHistory

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SystemFailureHistory

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for SystemFailureHistory

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Display for SystemFailureHistory

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<&SystemFailureHistory> for XfsMember

Source§

fn from(val: &SystemFailureHistory) -> Self

Converts to this type from the input type.
Source§

impl From<&SystemFailureHistory> for XfsStruct

Source§

fn from(val: &SystemFailureHistory) -> Self

Converts to this type from the input type.
Source§

impl From<&SystemFailureHistory> for XfsValue

Source§

fn from(val: &SystemFailureHistory) -> Self

Converts to this type from the input type.
Source§

impl From<&SystemFailureHistoryInternal> for SystemFailureHistory

Source§

fn from(val: &SystemFailureHistoryInternal) -> Self

Converts to this type from the input type.
Source§

impl From<SystemFailureHistory> for XfsMember

Source§

fn from(val: SystemFailureHistory) -> Self

Converts to this type from the input type.
Source§

impl From<SystemFailureHistory> for XfsStruct

Source§

fn from(val: SystemFailureHistory) -> Self

Converts to this type from the input type.
Source§

impl From<SystemFailureHistory> for XfsValue

Source§

fn from(val: SystemFailureHistory) -> Self

Converts to this type from the input type.
Source§

impl From<SystemFailureHistoryInternal> for SystemFailureHistory

Source§

fn from(val: SystemFailureHistoryInternal) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for SystemFailureHistory

Source§

fn eq(&self, other: &SystemFailureHistory) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl TryFrom<&XfsMember> for SystemFailureHistory

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: &XfsMember) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<&XfsMethodResponse> for SystemFailureHistory

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: &XfsMethodResponse) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<&XfsStruct> for SystemFailureHistory

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: &XfsStruct) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<&XfsValue> for SystemFailureHistory

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: &XfsValue) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<XfsMember> for SystemFailureHistory

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: XfsMember) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<XfsMethodResponse> for SystemFailureHistory

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: XfsMethodResponse) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<XfsStruct> for SystemFailureHistory

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: XfsStruct) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<XfsValue> for SystemFailureHistory

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(val: XfsValue) -> Result<Self>

Performs the conversion.
Source§

impl StructuralPartialEq for SystemFailureHistory

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.