#[non_exhaustive]pub enum GraphReducerError {
Rejected,
Unavailable,
ResourceLimit,
}Expand description
Public-safe failure returned by one pure graph reducer.
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.
Rejected
The ordered state/update combination was semantically invalid.
The pinned implementation could not execute on this worker.
ResourceLimit
The reducer could not satisfy an enforced resource bound.
Trait Implementations§
Source§impl Clone for GraphReducerError
impl Clone for GraphReducerError
impl Copy for GraphReducerError
Source§impl Debug for GraphReducerError
impl Debug for GraphReducerError
Source§impl Display for GraphReducerError
impl Display for GraphReducerError
impl Eq for GraphReducerError
Source§impl Error for GraphReducerError
impl Error for GraphReducerError
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 GraphReducerError
impl PartialEq for GraphReducerError
impl StructuralPartialEq for GraphReducerError
Auto Trait Implementations§
impl Forget for GraphReducerError
impl Freeze for GraphReducerError
impl Move for GraphReducerError
impl RefUnwindSafe for GraphReducerError
impl Send for GraphReducerError
impl Sync for GraphReducerError
impl Unpin for GraphReducerError
impl UnsafeUnpin for GraphReducerError
impl UnwindSafe for GraphReducerError
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