pub enum DistributionError {
TotalBelowDustLimit,
Math(MathError),
}Expand description
Errors specific to distribution and dust handling logic in this module.
Variants§
TotalBelowDustLimit
Total amount to distribute is non-zero but below the dust limit.
Math(MathError)
Wrapper around generic math errors encountered during redistribution.
Trait Implementations§
Source§impl Debug for DistributionError
impl Debug for DistributionError
Source§impl From<MathError> for DistributionError
impl From<MathError> for DistributionError
Source§impl PartialEq for DistributionError
impl PartialEq for DistributionError
impl StructuralPartialEq for DistributionError
Auto Trait Implementations§
impl Freeze for DistributionError
impl RefUnwindSafe for DistributionError
impl Send for DistributionError
impl Sync for DistributionError
impl Unpin for DistributionError
impl UnwindSafe for DistributionError
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