Enum kaspa_mining::model::tx_query::TransactionQuery
source · pub enum TransactionQuery {
TransactionsOnly,
OrphansOnly,
All,
}Expand description
Indicates whether the mempool query result should include transactions/orphans or both
Variants§
TransactionsOnly
Include only non-orphan transactions from the ordinary mempool tx pool
OrphansOnly
Include orphan transactions only
All
Include both orphan and non-orphan transactions
Implementations§
source§impl TransactionQuery
impl TransactionQuery
pub fn include_transaction_pool(&self) -> bool
pub fn include_orphan_pool(&self) -> bool
Auto Trait Implementations§
impl RefUnwindSafe for TransactionQuery
impl Send for TransactionQuery
impl Sync for TransactionQuery
impl Unpin for TransactionQuery
impl UnwindSafe for TransactionQuery
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
§impl<T> CastFrom for Twhere
T: Any + 'static,
impl<T> CastFrom for Twhere
T: Any + 'static,
§fn ref_any(&self) -> &(dyn Any + 'static)
fn ref_any(&self) -> &(dyn Any + 'static)
Returns a immutable reference to
Any, which is backed by the type implementing this trait.§fn mut_any(&mut self) -> &mut (dyn Any + 'static)
fn mut_any(&mut self) -> &mut (dyn Any + 'static)
Returns a mutable reference to
Any, which is backed by the type implementing this trait.