pub enum ResolutionProjectionError {
MemoryLimit {
limit: u64,
requested: u64,
},
SourceEvidenceMismatch,
Contract(Box<ResolutionProjectionFailure>),
KeyLimit {
fact: &'static str,
index: usize,
requested: usize,
},
}Expand description
Failure while deriving bounded canonical keys from parser facts.
Variants§
MemoryLimit
Retained projection growth would exceed the caller’s remaining allowance.
Fields
SourceEvidenceMismatch
Source ordinals do not belong to the supplied admitted graph.
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
§impl<'a, T> FromIn<'a, T> for T
impl<'a, T> FromIn<'a, T> for T
§impl<'a, T, U> IntoIn<'a, U> for Twhere
U: FromIn<'a, T>,
impl<'a, T, U> IntoIn<'a, U> for Twhere
U: FromIn<'a, T>,
§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of [
ToCompactString::to_compact_string()] Read more§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString]. Read more