Enum libp2p_gossipsub::error::PublishError
source · [−]pub enum PublishError {
Duplicate,
SigningError(SigningError),
InsufficientPeers,
MessageTooLarge,
TransformFailed(Error),
}
Expand description
Error associated with publishing a gossipsub message.
Variants
Duplicate
This message has already been published.
SigningError(SigningError)
An error occurred whilst signing the message.
InsufficientPeers
There were no peers to send this message to.
MessageTooLarge
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.