pub struct EpistemicDegradationError {
pub message: String,
pub spec_name: String,
}Expand description
Theorem 5.1 violation — raised by enforce_theorem_5_1 when a spec
snapshot reaches the dispatcher with c=1.0 + non-raw derivation,
out-of-range certainty, or unknown derivation.
Fields§
§message: String§spec_name: StringTrait Implementations§
Source§impl Clone for EpistemicDegradationError
impl Clone for EpistemicDegradationError
Source§fn clone(&self) -> EpistemicDegradationError
fn clone(&self) -> EpistemicDegradationError
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 EpistemicDegradationError
impl Debug for EpistemicDegradationError
Source§impl Display for EpistemicDegradationError
impl Display for EpistemicDegradationError
Source§impl Error for EpistemicDegradationError
impl Error for EpistemicDegradationError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for EpistemicDegradationError
impl RefUnwindSafe for EpistemicDegradationError
impl Send for EpistemicDegradationError
impl Sync for EpistemicDegradationError
impl Unpin for EpistemicDegradationError
impl UnsafeUnpin for EpistemicDegradationError
impl UnwindSafe for EpistemicDegradationError
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