pub struct PublishSlotError {
pub error: Error,
pub slot: EventsSlot,
}Expand description
Error returned by publish_slot APIs when the slot cannot be forwarded.
Fields§
§error: ErrorWhy publishing failed.
slot: EventsSlotThe original slot, returned to the caller so it can be retried or dropped.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PublishSlotError
impl !RefUnwindSafe for PublishSlotError
impl Send for PublishSlotError
impl !Sync for PublishSlotError
impl Unpin for PublishSlotError
impl !UnwindSafe for PublishSlotError
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