Enum libp2p_gossipsub::error::ValidationError [−][src]
pub enum ValidationError { InvalidSignature, EmptySequenceNumber, InvalidSequenceNumber, InvalidPeerId, SignaturePresent, SequenceNumberPresent, MessageSourcePresent, TransformFailed, }
Variants
The message has an invalid signature,
The sequence number was empty, expected a value.
The sequence number was the incorrect size
The PeerId was invalid
Signature existed when validation has been sent to
crate::behaviour::MessageAuthenticity::Anonymous
.
Sequence number existed when validation has been sent to
crate::behaviour::MessageAuthenticity::Anonymous
.
Message source existed when validation has been sent to
crate::behaviour::MessageAuthenticity::Anonymous
.
The data transformation failed.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ValidationError
impl Send for ValidationError
impl Sync for ValidationError
impl Unpin for ValidationError
impl UnwindSafe for ValidationError
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V