Enum incremental::ObserverError
source · #[non_exhaustive]pub enum ObserverError {
CurrentlyStabilising,
NeverStabilised,
Disallowed,
ObservingInvalid,
Mismatch,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for ObserverError
impl Clone for ObserverError
source§fn clone(&self) -> ObserverError
fn clone(&self) -> ObserverError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ObserverError
impl Debug for ObserverError
source§impl Display for ObserverError
impl Display for ObserverError
source§impl Error for ObserverError
impl Error for ObserverError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 ObserverError
impl PartialEq for ObserverError
source§fn eq(&self, other: &ObserverError) -> bool
fn eq(&self, other: &ObserverError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ObserverError
impl StructuralPartialEq for ObserverError
Auto Trait Implementations§
impl Freeze for ObserverError
impl RefUnwindSafe for ObserverError
impl Send for ObserverError
impl Sync for ObserverError
impl Unpin for ObserverError
impl UnwindSafe for ObserverError
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