pub enum FragmentRejectionReason {
FragmentAlreadyInLog,
FragmentInvalid,
PreviousFragmentInvalid,
PoolOverflow,
}
Expand description
This error is reserved for fragments that were rejected by the mempool at the time of sending them to mempool. If a fragment ended up being included to mempool, it will be listed in fragment logs and all further errors would be listed in fragment logs as well.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for FragmentRejectionReason
impl Clone for FragmentRejectionReason
source§fn clone(&self) -> FragmentRejectionReason
fn clone(&self) -> FragmentRejectionReason
Returns a copy 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 moresource§impl Debug for FragmentRejectionReason
impl Debug for FragmentRejectionReason
source§impl<'de> Deserialize<'de> for FragmentRejectionReason
impl<'de> Deserialize<'de> for FragmentRejectionReason
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<FragmentRejectionReason> for FragmentRejectionReason
impl PartialEq<FragmentRejectionReason> for FragmentRejectionReason
source§fn eq(&self, other: &FragmentRejectionReason) -> bool
fn eq(&self, other: &FragmentRejectionReason) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for FragmentRejectionReason
impl Serialize for FragmentRejectionReason
impl Eq for FragmentRejectionReason
impl StructuralEq for FragmentRejectionReason
impl StructuralPartialEq for FragmentRejectionReason
Auto Trait Implementations§
impl RefUnwindSafe for FragmentRejectionReason
impl Send for FragmentRejectionReason
impl Sync for FragmentRejectionReason
impl Unpin for FragmentRejectionReason
impl UnwindSafe for FragmentRejectionReason
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