Enum cfx_packing_pool::SampleTag
source · pub enum SampleTag {
RandomPick,
CandidateAddress,
PriceDesc,
}
Expand description
Enum representing the phase in which a transaction was selected during the
sampling process. See TxSampler
for more details.
Variants§
RandomPick
Transaction was picked during the Random Sampling Phase.
CandidateAddress
Transaction was picked during the Candidate Queue Phase.
PriceDesc
Transaction was picked during the Remaining Transactions Phase.
Trait Implementations§
source§impl PartialEq for SampleTag
impl PartialEq for SampleTag
impl Copy for SampleTag
impl Eq for SampleTag
impl StructuralPartialEq for SampleTag
Auto Trait Implementations§
impl RefUnwindSafe for SampleTag
impl Send for SampleTag
impl Sync for SampleTag
impl Unpin for SampleTag
impl UnwindSafe for SampleTag
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