pub enum ObservationRejection {
IdAlreadyBound,
NotObserved,
}Expand description
Semantic rejection of an exact observation operation.
Variants§
IdAlreadyBound
This observation ID already names a live relationship.
NotObserved
Cancellation named no exact registered relationship.
Trait Implementations§
Source§impl Clone for ObservationRejection
impl Clone for ObservationRejection
Source§fn clone(&self) -> ObservationRejection
fn clone(&self) -> ObservationRejection
Returns a duplicate 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 ObservationRejection
impl Debug for ObservationRejection
Source§impl Display for ObservationRejection
impl Display for ObservationRejection
Source§impl Error for ObservationRejection
impl Error for ObservationRejection
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 ObservationRejection
impl PartialEq for ObservationRejection
impl Copy for ObservationRejection
impl Eq for ObservationRejection
impl StructuralPartialEq for ObservationRejection
Auto Trait Implementations§
impl Freeze for ObservationRejection
impl RefUnwindSafe for ObservationRejection
impl Send for ObservationRejection
impl Sync for ObservationRejection
impl Unpin for ObservationRejection
impl UnsafeUnpin for ObservationRejection
impl UnwindSafe for ObservationRejection
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