pub enum PubSubReadError {
Pending,
Lost,
}Expand description
Errors a subscriber read can return.
Variants§
Pending
The requested position has not been published yet.
Lost
The requested position has been overwritten by the producer.
Subscriber lagged more than capacity positions behind.
Trait Implementations§
Source§impl Clone for PubSubReadError
impl Clone for PubSubReadError
Source§fn clone(&self) -> PubSubReadError
fn clone(&self) -> PubSubReadError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PubSubReadError
Source§impl Debug for PubSubReadError
impl Debug for PubSubReadError
impl Eq for PubSubReadError
Source§impl PartialEq for PubSubReadError
impl PartialEq for PubSubReadError
impl StructuralPartialEq for PubSubReadError
Auto Trait Implementations§
impl Freeze for PubSubReadError
impl RefUnwindSafe for PubSubReadError
impl Send for PubSubReadError
impl Sync for PubSubReadError
impl Unpin for PubSubReadError
impl UnsafeUnpin for PubSubReadError
impl UnwindSafe for PubSubReadError
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