Enum lightning::chain::chaininterface::ConfirmationTarget
source · pub enum ConfirmationTarget {
Background,
Normal,
HighPriority,
}
Expand description
An enum that represents the speed at which we want a transaction to confirm used for feerate estimation.
Variants§
Background
We are happy with this transaction confirming slowly when feerate drops some.
Normal
We’d like this transaction to confirm without major delay, but 12-18 blocks is fine.
HighPriority
We’d like this transaction to confirm in the next few blocks.
Trait Implementations§
source§impl Clone for ConfirmationTarget
impl Clone for ConfirmationTarget
source§fn clone(&self) -> ConfirmationTarget
fn clone(&self) -> ConfirmationTarget
Returns a copy 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 ConfirmationTarget
impl Debug for ConfirmationTarget
source§impl Hash for ConfirmationTarget
impl Hash for ConfirmationTarget
source§impl PartialEq<ConfirmationTarget> for ConfirmationTarget
impl PartialEq<ConfirmationTarget> for ConfirmationTarget
source§fn eq(&self, other: &ConfirmationTarget) -> bool
fn eq(&self, other: &ConfirmationTarget) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ConfirmationTarget
impl Eq for ConfirmationTarget
impl StructuralEq for ConfirmationTarget
impl StructuralPartialEq for ConfirmationTarget
Auto Trait Implementations§
impl RefUnwindSafe for ConfirmationTarget
impl Send for ConfirmationTarget
impl Sync for ConfirmationTarget
impl Unpin for ConfirmationTarget
impl UnwindSafe for ConfirmationTarget
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