Enum bdk::blockchain::Capability
source · [−]pub enum Capability {
FullHistory,
GetAnyTx,
AccurateFees,
}
Expand description
Capabilities that can be supported by a Blockchain
backend
Variants
FullHistory
Can recover the full history of a wallet and not only the set of currently spendable UTXOs
GetAnyTx
Can fetch any historical transaction given its txid
AccurateFees
Can compute accurate fees for the transactions found during sync
Trait Implementations
sourceimpl Clone for Capability
impl Clone for Capability
sourcefn clone(&self) -> Capability
fn clone(&self) -> Capability
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Capability
impl Debug for Capability
sourceimpl Hash for Capability
impl Hash for Capability
sourceimpl PartialEq<Capability> for Capability
impl PartialEq<Capability> for Capability
sourcefn eq(&self, other: &Capability) -> bool
fn eq(&self, other: &Capability) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for Capability
impl Eq for Capability
impl StructuralEq for Capability
impl StructuralPartialEq for Capability
Auto Trait Implementations
impl RefUnwindSafe for Capability
impl Send for Capability
impl Sync for Capability
impl Unpin for Capability
impl UnwindSafe for Capability
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more