Struct wlancfg_lib::mode_management::recovery::RecoverySummary
source · pub struct RecoverySummary {
pub defect: Defect,
pub action: RecoveryAction,
}
Fields§
§defect: Defect
§action: RecoveryAction
Implementations§
source§impl RecoverySummary
impl RecoverySummary
pub fn new(defect: Defect, action: RecoveryAction) -> Self
pub fn as_recovery_reason(self) -> Option<RecoveryReason>
Trait Implementations§
source§impl Clone for RecoverySummary
impl Clone for RecoverySummary
source§fn clone(&self) -> RecoverySummary
fn clone(&self) -> RecoverySummary
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 RecoverySummary
impl Debug for RecoverySummary
source§impl PartialEq for RecoverySummary
impl PartialEq for RecoverySummary
source§fn eq(&self, other: &RecoverySummary) -> bool
fn eq(&self, other: &RecoverySummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RecoverySummary
impl StructuralPartialEq for RecoverySummary
Auto Trait Implementations§
impl Freeze for RecoverySummary
impl RefUnwindSafe for RecoverySummary
impl Send for RecoverySummary
impl Sync for RecoverySummary
impl Unpin for RecoverySummary
impl UnwindSafe for RecoverySummary
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