pub enum PaneRepairFailure {
UnsafeIssuesPresent {
codes: Vec<PaneInvariantCode>,
},
ValidationFailed {
error: PaneModelError,
},
}Expand description
Failure reason for safe repair.
Variants§
UnsafeIssuesPresent
Fields
§
codes: Vec<PaneInvariantCode>ValidationFailed
Fields
§
error: PaneModelErrorTrait Implementations§
Source§impl Clone for PaneRepairFailure
impl Clone for PaneRepairFailure
Source§fn clone(&self) -> PaneRepairFailure
fn clone(&self) -> PaneRepairFailure
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PaneRepairFailure
impl Debug for PaneRepairFailure
Source§impl Display for PaneRepairFailure
impl Display for PaneRepairFailure
impl Eq for PaneRepairFailure
Source§impl Error for PaneRepairFailure
impl Error for PaneRepairFailure
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for PaneRepairFailure
impl PartialEq for PaneRepairFailure
Source§fn eq(&self, other: &PaneRepairFailure) -> bool
fn eq(&self, other: &PaneRepairFailure) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PaneRepairFailure
Auto Trait Implementations§
impl Freeze for PaneRepairFailure
impl RefUnwindSafe for PaneRepairFailure
impl Send for PaneRepairFailure
impl Sync for PaneRepairFailure
impl Unpin for PaneRepairFailure
impl UnsafeUnpin for PaneRepairFailure
impl UnwindSafe for PaneRepairFailure
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