pub struct Bounds {
pub depth: usize,
pub visited: usize,
pub edges: usize,
pub work: u64,
pub paths: usize,
pub policies: usize,
}Expand description
How far the search may go before it stops and says so.
Every direction a search can grow has a number here, because a certificate set somebody else controls grows in all of them: deeper chains, wider fan-out at each step, more paths that differ in one certificate, more policies in each certificate. The defaults are what a browser can spend on a document somebody sent, not what a server can spend on its own inventory.
Fields§
§depth: usizeHow many certificates a path may hold, the anchor aside.
visited: usizeHow many times a certificate may be entered at some depth.
edges: usizeHow many candidate issuers may be considered in total.
work: u64How much work the checks along the way may cost.
paths: usizeHow many paths may be returned.
policies: usizeHow many policies one path’s working out may hold at once.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Bounds
impl RefUnwindSafe for Bounds
impl Send for Bounds
impl Sync for Bounds
impl Unpin for Bounds
impl UnsafeUnpin for Bounds
impl UnwindSafe for Bounds
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