pub enum ProducerObserverError {
AlreadyObserved,
Stale,
TerminalTypeMismatch,
}Expand description
Failure in the single-observer completion lifecycle.
Variants§
AlreadyObserved
The terminal value was already taken by this observer.
Stale
The observer’s completion generation is no longer live.
TerminalTypeMismatch
A producer terminal reached an observer for another operation kind.
Trait Implementations§
Source§impl Clone for ProducerObserverError
impl Clone for ProducerObserverError
impl Copy for ProducerObserverError
Source§impl Debug for ProducerObserverError
impl Debug for ProducerObserverError
Source§impl Display for ProducerObserverError
impl Display for ProducerObserverError
impl Eq for ProducerObserverError
Source§impl Error for ProducerObserverError
impl Error for ProducerObserverError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for ProducerObserverError
impl PartialEq for ProducerObserverError
impl StructuralPartialEq for ProducerObserverError
Auto Trait Implementations§
impl Freeze for ProducerObserverError
impl RefUnwindSafe for ProducerObserverError
impl Send for ProducerObserverError
impl Sync for ProducerObserverError
impl Unpin for ProducerObserverError
impl UnsafeUnpin for ProducerObserverError
impl UnwindSafe for ProducerObserverError
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