pub enum TxSource {
PushApi,
Broadcast,
Fluff,
EmbargoExpired,
Deaggregate,
}
Expand description
Used to make decisions based on transaction acceptance priority from various sources. For example, a node may want to bypass pool size restrictions when accepting a transaction from a local wallet.
Most likely this will evolve to contain some sort of network identifier, once we get a better sense of what transaction building might look like.
Variants§
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TxSource
impl<'de> Deserialize<'de> for TxSource
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for TxSource
impl PartialEq for TxSource
impl Copy for TxSource
impl StructuralPartialEq for TxSource
Auto Trait Implementations§
impl RefUnwindSafe for TxSource
impl Send for TxSource
impl Sync for TxSource
impl Unpin for TxSource
impl UnwindSafe for TxSource
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