Enum libp2p_gossipsub::error::SubscriptionError
source · [−]pub enum SubscriptionError {
PublishError(PublishError),
NotAllowed,
}
Expand description
Error associated with subscribing to a topic.
Variants
PublishError(PublishError)
Couldn’t publish our subscription
NotAllowed
We are not allowed to subscribe to this topic by the subscription filter
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for SubscriptionError
impl Send for SubscriptionError
impl Sync for SubscriptionError
impl Unpin for SubscriptionError
impl !UnwindSafe for SubscriptionError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more