pub enum Error {
SecurityTooLow {
estimated_bits: usize,
min_bits: usize,
},
InsufficientSupport {
ldt_support_size: usize,
num_queries: usize,
},
EmptyOuterStatement,
ZeroOuterQueries,
OuterDomainTooLarge {
code_len: usize,
max_log2: u32,
},
}Expand description
Failures produced by Config::check_security.
Variants§
SecurityTooLow
Estimated security fell below min_security_bits.
InsufficientSupport
ldt_support_size < num_queries;
opened columns exhaust the noise
budget and witness data leaks.
EmptyOuterStatement
No scalar to mask; a pad of length zero hides nothing.
ZeroOuterQueries
No column opening; an unopened oracle proves nothing.
OuterDomainTooLarge
The outer code outgrew the largest additive-FFT domain we encode.
Trait Implementations§
impl Copy for Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl UnwindSafe for Error
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more