Enum embassy_sync::pubsub::Error
source · pub enum Error {
MaximumSubscribersReached,
MaximumPublishersReached,
}
Expand description
Error type for the PubSubChannel
Variants§
MaximumSubscribersReached
All subscriber slots are used. To add another subscriber, first another subscriber must be dropped or the capacity of the channels must be increased.
MaximumPublishersReached
All publisher slots are used. To add another publisher, first another publisher must be dropped or the capacity of the channels must be increased.
Trait Implementations§
source§impl PartialEq for Error
impl PartialEq for Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more