#[non_exhaustive]pub enum RsaSizeRule {
Minimum(u16),
Exact(&'static [u16]),
}Expand description
The published RSA modulus-size condition, separate from implementation limits.
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.
Minimum(u16)
A minimum modulus bit length.
Exact(&'static [u16])
An exact finite list of modulus bit lengths.
Trait Implementations§
Source§impl Clone for RsaSizeRule
impl Clone for RsaSizeRule
impl Copy for RsaSizeRule
Source§impl Debug for RsaSizeRule
impl Debug for RsaSizeRule
impl Eq for RsaSizeRule
Source§impl PartialEq for RsaSizeRule
impl PartialEq for RsaSizeRule
impl StructuralPartialEq for RsaSizeRule
Auto Trait Implementations§
impl Forget for RsaSizeRule
impl Freeze for RsaSizeRule
impl Move for RsaSizeRule
impl RefUnwindSafe for RsaSizeRule
impl Send for RsaSizeRule
impl Sync for RsaSizeRule
impl Unpin for RsaSizeRule
impl UnsafeUnpin for RsaSizeRule
impl UnwindSafe for RsaSizeRule
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