pub struct ResolutionProjectionFailure { /* private fields */ }Expand description
Bounded rejected derived-key facts and the partial valid projection.
Implementations§
Source§impl ResolutionProjectionFailure
impl ResolutionProjectionFailure
Sourcepub fn failures(&self) -> &[ResolutionProjectionFactFailure]
pub fn failures(&self) -> &[ResolutionProjectionFactFailure]
Borrow every retained rejected derived-key fact.
Sourcepub const fn rejected_count(&self) -> usize
pub const fn rejected_count(&self) -> usize
Return the total rejected derived-key count before bounded detail retention.
Sourcepub fn projection(&self) -> &ResolutionKeyProjection
pub fn projection(&self) -> &ResolutionKeyProjection
Borrow the projection containing all valid keys derived before and after the failure.
Sourcepub fn into_parts(
self,
) -> (Vec<ResolutionProjectionFactFailure>, usize, ResolutionKeyProjection)
pub fn into_parts( self, ) -> (Vec<ResolutionProjectionFactFailure>, usize, ResolutionKeyProjection)
Consume the failure at an adapter boundary that needs all retained state.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ResolutionProjectionFailure
impl !UnwindSafe for ResolutionProjectionFailure
impl Freeze for ResolutionProjectionFailure
impl Send for ResolutionProjectionFailure
impl Sync for ResolutionProjectionFailure
impl Unpin for ResolutionProjectionFailure
impl UnsafeUnpin for ResolutionProjectionFailure
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