#[non_exhaustive]pub enum Truncation {
Depth,
Visited,
Edges,
Work,
Time,
Paths,
Policies,
}Expand description
Which bound stopped the search, where one did.
A report says which, because the answers differ: a search that ran out of paths has more to show, and a search that ran out of depth was looking in the wrong place.
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.
Depth
A path reached the depth bound and was not followed further.
Visited
The count of entered certificates reached its bound.
Edges
The count of considered candidates reached its bound.
Work
The checks along the way cost what the caller allowed.
Time
The caller’s clock ran out.
Paths
More paths were found than the caller asked for, and one that was found is not among the ones returned.
Policies
Working out what a path was issued under grew past what the caller allowed it to hold, so that path was not settled.
Trait Implementations§
Source§impl Clone for Truncation
impl Clone for Truncation
impl Copy for Truncation
Source§impl Debug for Truncation
impl Debug for Truncation
impl Eq for Truncation
Source§impl PartialEq for Truncation
impl PartialEq for Truncation
impl StructuralPartialEq for Truncation
Auto Trait Implementations§
impl Freeze for Truncation
impl RefUnwindSafe for Truncation
impl Send for Truncation
impl Sync for Truncation
impl Unpin for Truncation
impl UnsafeUnpin for Truncation
impl UnwindSafe for Truncation
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