Enum ConfirmationPriority
pub enum ConfirmationPriority {
High,
Normal,
Background,
}Expand description
The transaction confirmation priority levels used in Lexe APIs.
Basically a simplified version of LDK’s [ConfirmationTarget] type.
Lexe code should prefer to use this type when possible.
Variants§
Trait Implementations§
§impl Clone for ConfirmationPriority
impl Clone for ConfirmationPriority
§fn clone(&self) -> ConfirmationPriority
fn clone(&self) -> ConfirmationPriority
Returns a duplicate 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 more§impl Debug for ConfirmationPriority
impl Debug for ConfirmationPriority
§impl<'de> Deserialize<'de> for ConfirmationPriority
impl<'de> Deserialize<'de> for ConfirmationPriority
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConfirmationPriority, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConfirmationPriority, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Display for ConfirmationPriority
impl Display for ConfirmationPriority
§impl FromStr for ConfirmationPriority
impl FromStr for ConfirmationPriority
§impl PartialEq for ConfirmationPriority
impl PartialEq for ConfirmationPriority
§impl Serialize for ConfirmationPriority
impl Serialize for ConfirmationPriority
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
§impl ToNumBlocks for ConfirmationPriority
impl ToNumBlocks for ConfirmationPriority
§fn to_num_blocks(&self) -> u16
fn to_num_blocks(&self) -> u16
Convert a confirmation priority into a target number of blocks.
impl Copy for ConfirmationPriority
impl Eq for ConfirmationPriority
impl StructuralPartialEq for ConfirmationPriority
Auto Trait Implementations§
impl Freeze for ConfirmationPriority
impl RefUnwindSafe for ConfirmationPriority
impl Send for ConfirmationPriority
impl Sync for ConfirmationPriority
impl Unpin for ConfirmationPriority
impl UnwindSafe for ConfirmationPriority
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.