pub enum HybridError {
InvalidWeight,
ZeroLimit,
DuplicateBranchKey,
ArithmeticOverflow,
}Expand description
Fusion failure.
Variants§
InvalidWeight
Weights must be positive and bounded.
ZeroLimit
At least one result must be requested.
DuplicateBranchKey
A branch unexpectedly repeats one key.
ArithmeticOverflow
Checked integer arithmetic failed.
Trait Implementations§
Source§impl Clone for HybridError
impl Clone for HybridError
Source§fn clone(&self) -> HybridError
fn clone(&self) -> HybridError
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 HybridError
impl Debug for HybridError
Source§impl Display for HybridError
impl Display for HybridError
impl Eq for HybridError
Source§impl Error for HybridError
impl Error for HybridError
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 HybridError
impl PartialEq for HybridError
impl StructuralPartialEq for HybridError
Auto Trait Implementations§
impl Freeze for HybridError
impl RefUnwindSafe for HybridError
impl Send for HybridError
impl Sync for HybridError
impl Unpin for HybridError
impl UnsafeUnpin for HybridError
impl UnwindSafe for HybridError
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