pub enum EstimationMode {
Conservative,
Economical,
}Expand description
Fee estimation mode for estimate_fee.
This parameter was added in protocol v1.6 and is passed to bitcoind’s
estimatesmartfee RPC as the estimate_mode parameter.
Variants§
Conservative
A conservative estimate potentially returns a higher feerate and is more likely to be sufficient for the desired target, but is not as responsive to short term drops in the prevailing fee market.
Economical
Economical fee estimate - potentially lower fees but may take longer to confirm.
Trait Implementations§
Source§impl Clone for EstimationMode
impl Clone for EstimationMode
Source§fn clone(&self) -> EstimationMode
fn clone(&self) -> EstimationMode
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 EstimationMode
impl Debug for EstimationMode
Source§impl Display for EstimationMode
impl Display for EstimationMode
Source§impl PartialEq for EstimationMode
impl PartialEq for EstimationMode
Source§fn eq(&self, other: &EstimationMode) -> bool
fn eq(&self, other: &EstimationMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EstimationMode
impl Eq for EstimationMode
impl StructuralPartialEq for EstimationMode
Auto Trait Implementations§
impl Freeze for EstimationMode
impl RefUnwindSafe for EstimationMode
impl Send for EstimationMode
impl Sync for EstimationMode
impl Unpin for EstimationMode
impl UnsafeUnpin for EstimationMode
impl UnwindSafe for EstimationMode
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