Enum bdk::wallet::tx_builder::TxOrdering
source · [−]pub enum TxOrdering {
Shuffle,
Untouched,
Bip69Lexicographic,
}
Expand description
Ordering of the transaction’s inputs and outputs
Variants
Shuffle
Randomized (default)
Untouched
Unchanged
Bip69Lexicographic
BIP69 / Lexicographic
Implementations
sourceimpl TxOrdering
impl TxOrdering
sourcepub fn sort_tx(&self, tx: &mut Transaction)
pub fn sort_tx(&self, tx: &mut Transaction)
Sort transaction inputs and outputs by TxOrdering
variant
Trait Implementations
sourceimpl Clone for TxOrdering
impl Clone for TxOrdering
sourcefn clone(&self) -> TxOrdering
fn clone(&self) -> TxOrdering
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 TxOrdering
impl Debug for TxOrdering
sourceimpl Default for TxOrdering
impl Default for TxOrdering
sourceimpl Hash for TxOrdering
impl Hash for TxOrdering
sourceimpl Ord for TxOrdering
impl Ord for TxOrdering
sourceimpl PartialEq<TxOrdering> for TxOrdering
impl PartialEq<TxOrdering> for TxOrdering
sourceimpl PartialOrd<TxOrdering> for TxOrdering
impl PartialOrd<TxOrdering> for TxOrdering
sourcefn partial_cmp(&self, other: &TxOrdering) -> Option<Ordering>
fn partial_cmp(&self, other: &TxOrdering) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for TxOrdering
impl Eq for TxOrdering
impl StructuralEq for TxOrdering
impl StructuralPartialEq for TxOrdering
Auto Trait Implementations
impl RefUnwindSafe for TxOrdering
impl Send for TxOrdering
impl Sync for TxOrdering
impl Unpin for TxOrdering
impl UnwindSafe for TxOrdering
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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