Enum bdk::wallet::coin_selection::Excess
source · pub enum Excess {
NoChange {
dust_threshold: u64,
remaining_amount: u64,
change_fee: u64,
},
Change {
amount: u64,
fee: u64,
},
}
Expand description
Remaining amount after performing coin selection
Variants§
NoChange
Fields
It’s not possible to create spendable output from excess using the current drain output
Change
Fields
It’s possible to create spendable output from excess using the current drain output
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Excess
impl Send for Excess
impl Sync for Excess
impl Unpin for Excess
impl UnwindSafe for Excess
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