pub struct ResolutionProjectionFactFailure { /* private fields */ }Expand description
One parser fact whose derived canonical key violated the graph contract.
Implementations§
Source§impl ResolutionProjectionFactFailure
impl ResolutionProjectionFactFailure
Sourcepub fn error(&self) -> &GraphContractError
pub fn error(&self) -> &GraphContractError
Return the graph-contract error without exposing rejected identity text.
Sourcepub const fn fact(&self) -> ResolutionProjectionFact
pub const fn fact(&self) -> ResolutionProjectionFact
Return the parser fact that produced the rejected derived key.
Sourcepub fn into_parts(self) -> (ResolutionProjectionFact, GraphContractError)
pub fn into_parts(self) -> (ResolutionProjectionFact, GraphContractError)
Consume one failure at an adapter boundary that needs its typed error.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ResolutionProjectionFactFailure
impl !UnwindSafe for ResolutionProjectionFactFailure
impl Freeze for ResolutionProjectionFactFailure
impl Send for ResolutionProjectionFactFailure
impl Sync for ResolutionProjectionFactFailure
impl Unpin for ResolutionProjectionFactFailure
impl UnsafeUnpin for ResolutionProjectionFactFailure
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