pub enum AddOrphanResult {
Added,
AlreadyExists,
TooLarge,
AddedAfterEviction {
evicted: Txid,
},
}Expand description
Result of attempting to add an orphan.
Variants§
Added
Successfully added as a new orphan.
AlreadyExists
Already in the orphan pool.
TooLarge
Rejected: transaction too large.
AddedAfterEviction
Rejected: pool is full and eviction occurred; orphan was added.
Trait Implementations§
Source§impl Clone for AddOrphanResult
impl Clone for AddOrphanResult
Source§fn clone(&self) -> AddOrphanResult
fn clone(&self) -> AddOrphanResult
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 moreSource§impl Debug for AddOrphanResult
impl Debug for AddOrphanResult
Source§impl PartialEq for AddOrphanResult
impl PartialEq for AddOrphanResult
impl Eq for AddOrphanResult
impl StructuralPartialEq for AddOrphanResult
Auto Trait Implementations§
impl Freeze for AddOrphanResult
impl RefUnwindSafe for AddOrphanResult
impl Send for AddOrphanResult
impl Sync for AddOrphanResult
impl Unpin for AddOrphanResult
impl UnsafeUnpin for AddOrphanResult
impl UnwindSafe for AddOrphanResult
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