pub enum ProximalProcessGateError {
FrequencyBelowThreshold {
actual: f64,
threshold: f64,
},
ComplexityBelowThreshold {
actual: f64,
threshold: f64,
},
BothBelowThreshold {
actual_frequency: f64,
frequency_threshold: f64,
actual_complexity: f64,
complexity_threshold: f64,
},
ReciprocityBelowThreshold {
actual: f64,
threshold: f64,
},
}Expand description
Error returned when proximal process gate blocks an effect.
Variants§
FrequencyBelowThreshold
Interaction frequency was below threshold.
ComplexityBelowThreshold
Interaction complexity was below threshold.
BothBelowThreshold
Both frequency and complexity were below thresholds.
Fields
ReciprocityBelowThreshold
Reciprocity was below threshold.
Trait Implementations§
Source§impl Clone for ProximalProcessGateError
impl Clone for ProximalProcessGateError
Source§fn clone(&self) -> ProximalProcessGateError
fn clone(&self) -> ProximalProcessGateError
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 ProximalProcessGateError
impl Debug for ProximalProcessGateError
Source§impl Display for ProximalProcessGateError
impl Display for ProximalProcessGateError
Source§impl Error for ProximalProcessGateError
impl Error for ProximalProcessGateError
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()
Source§impl PartialEq for ProximalProcessGateError
impl PartialEq for ProximalProcessGateError
impl StructuralPartialEq for ProximalProcessGateError
Auto Trait Implementations§
impl Freeze for ProximalProcessGateError
impl RefUnwindSafe for ProximalProcessGateError
impl Send for ProximalProcessGateError
impl Sync for ProximalProcessGateError
impl Unpin for ProximalProcessGateError
impl UnwindSafe for ProximalProcessGateError
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