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.
Tuple Fields of SigningError
0: SigningError
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.
Tuple Fields of TransformFailed
0: Error
Trait Implementations
Performs the conversion.
Performs the conversion.