pub enum PolynomialSetCoefficientsError {
OutOfBounds {
offset: u8,
end: usize,
},
}Expand description
Errors returned by
Polynomial::set_coefficients.
Variants§
OutOfBounds
The coefficient range extends past the maximum coefficient index.
Trait Implementations§
Source§impl Clone for PolynomialSetCoefficientsError
impl Clone for PolynomialSetCoefficientsError
Source§fn clone(&self) -> PolynomialSetCoefficientsError
fn clone(&self) -> PolynomialSetCoefficientsError
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 moreimpl Copy for PolynomialSetCoefficientsError
impl Eq for PolynomialSetCoefficientsError
Source§impl Error for PolynomialSetCoefficientsError
impl Error for PolynomialSetCoefficientsError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<PolynomialSetCoefficientsError> for RSGenerateParityError
impl From<PolynomialSetCoefficientsError> for RSGenerateParityError
Source§fn from(source: PolynomialSetCoefficientsError) -> Self
fn from(source: PolynomialSetCoefficientsError) -> Self
Converts to this type from the input type.
Source§impl Ord for PolynomialSetCoefficientsError
impl Ord for PolynomialSetCoefficientsError
Source§fn cmp(&self, other: &PolynomialSetCoefficientsError) -> Ordering
fn cmp(&self, other: &PolynomialSetCoefficientsError) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for PolynomialSetCoefficientsError
impl PartialOrd for PolynomialSetCoefficientsError
impl StructuralPartialEq for PolynomialSetCoefficientsError
Auto Trait Implementations§
impl Freeze for PolynomialSetCoefficientsError
impl RefUnwindSafe for PolynomialSetCoefficientsError
impl Send for PolynomialSetCoefficientsError
impl Sync for PolynomialSetCoefficientsError
impl Unpin for PolynomialSetCoefficientsError
impl UnsafeUnpin for PolynomialSetCoefficientsError
impl UnwindSafe for PolynomialSetCoefficientsError
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