#[repr(u8)]pub enum Algorithm {
Sha1,
Sha256,
Sha384,
Sha512,
}
Expand description
RSA Optimal Asymmetric Encryption Padding (OAEP) algorithms
Variants§
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Algorithm
impl<'de> Deserialize<'de> for Algorithm
source§fn deserialize<D: Deserializer<'de>>(
deserializer: D
) -> Result<Algorithm, D::Error>
fn deserialize<D: Deserializer<'de>>( deserializer: D ) -> Result<Algorithm, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Algorithm> for Algorithm
impl PartialEq<Algorithm> for Algorithm
impl Copy for Algorithm
impl Eq for Algorithm
impl StructuralEq for Algorithm
impl StructuralPartialEq for Algorithm
Auto Trait Implementations§
impl RefUnwindSafe for Algorithm
impl Send for Algorithm
impl Sync for Algorithm
impl Unpin for Algorithm
impl UnwindSafe for Algorithm
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