Enum libp2p_gossipsub::error::PublishError [−][src]
pub enum PublishError { Duplicate, SigningError(SigningError), InsufficientPeers, MessageTooLarge, TransformFailed(Error), }
Expand description
Error associated with publishing a gossipsub message.
Variants
This message has already been published.
SigningError(SigningError)
An error occurred whilst signing the message.
There were no peers to send this message to.
The overall message was too large. This could be due to excessive topics or an excessive message size.
TransformFailed(Error)
The compression algorithm failed.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for PublishError
impl Send for PublishError
impl Sync for PublishError
impl Unpin for PublishError
impl !UnwindSafe for PublishError