pub struct StructuralBudget {
pub trial_limit: u64,
pub fermat_iters: u64,
pub pminus1_bound: u64,
pub rho_iters: u64,
}Expand description
The effort budget for structural_factor: each structural attack runs to its own bound, then
declines. A soundly-generated modulus exhausts every bound and yields no witness.
Fields§
§trial_limit: u64§fermat_iters: u64§pminus1_bound: u64§rho_iters: u64Trait Implementations§
Source§impl Clone for StructuralBudget
impl Clone for StructuralBudget
Source§fn clone(&self) -> StructuralBudget
fn clone(&self) -> StructuralBudget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StructuralBudget
impl Debug for StructuralBudget
Source§impl Default for StructuralBudget
impl Default for StructuralBudget
impl Copy for StructuralBudget
Auto Trait Implementations§
impl Freeze for StructuralBudget
impl RefUnwindSafe for StructuralBudget
impl Send for StructuralBudget
impl Sync for StructuralBudget
impl Unpin for StructuralBudget
impl UnsafeUnpin for StructuralBudget
impl UnwindSafe for StructuralBudget
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