pub enum ResolutionProjectionError {
Contract(Box<ResolutionProjectionFailure>),
KeyLimit {
fact: &'static str,
index: usize,
requested: usize,
},
}Expand description
Failure while deriving bounded canonical keys from parser facts.
Variants§
Contract(Box<ResolutionProjectionFailure>)
An extracted or caller-supplied identity violated the graph contract.
KeyLimit
One source fact would exceed the bounded key fan-out.
Trait Implementations§
Source§impl Debug for ResolutionProjectionError
impl Debug for ResolutionProjectionError
Source§impl Display for ResolutionProjectionError
impl Display for ResolutionProjectionError
Source§impl Error for ResolutionProjectionError
impl Error for ResolutionProjectionError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for ResolutionProjectionError
impl !UnwindSafe for ResolutionProjectionError
impl Freeze for ResolutionProjectionError
impl Send for ResolutionProjectionError
impl Sync for ResolutionProjectionError
impl Unpin for ResolutionProjectionError
impl UnsafeUnpin for ResolutionProjectionError
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