pub enum PeerMessageDropReason {
RateLimited,
Duplicate,
HopLoop,
HopRunaway,
QueueFull,
Unverified,
Unknown(String),
}Expand description
Which check discarded a peer message
(PeerMessageHoldMessage::reason, outcome dropped only; CLI 2.1.328+).
Variants§
RateLimited
Duplicate
HopLoop
HopRunaway
QueueFull
Unverified
Unknown(String)
A reason not yet known to this version of the crate.
Implementations§
Trait Implementations§
Source§impl Clone for PeerMessageDropReason
impl Clone for PeerMessageDropReason
Source§impl Debug for PeerMessageDropReason
impl Debug for PeerMessageDropReason
Source§impl<'de> Deserialize<'de> for PeerMessageDropReason
impl<'de> Deserialize<'de> for PeerMessageDropReason
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PeerMessageDropReason
impl Display for PeerMessageDropReason
impl Eq for PeerMessageDropReason
Source§impl From<&str> for PeerMessageDropReason
impl From<&str> for PeerMessageDropReason
Source§impl Hash for PeerMessageDropReason
impl Hash for PeerMessageDropReason
Source§impl PartialEq for PeerMessageDropReason
impl PartialEq for PeerMessageDropReason
Source§impl Serialize for PeerMessageDropReason
impl Serialize for PeerMessageDropReason
impl StructuralPartialEq for PeerMessageDropReason
Auto Trait Implementations§
impl Forget for PeerMessageDropReason
impl Freeze for PeerMessageDropReason
impl Move for PeerMessageDropReason
impl RefUnwindSafe for PeerMessageDropReason
impl Send for PeerMessageDropReason
impl Sync for PeerMessageDropReason
impl Unpin for PeerMessageDropReason
impl UnsafeUnpin for PeerMessageDropReason
impl UnwindSafe for PeerMessageDropReason
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