Enum rustls::SignatureScheme [−][src]
pub enum SignatureScheme {}Show variants
RSA_PKCS1_SHA1, ECDSA_SHA1_Legacy, RSA_PKCS1_SHA256, ECDSA_NISTP256_SHA256, RSA_PKCS1_SHA384, ECDSA_NISTP384_SHA384, RSA_PKCS1_SHA512, ECDSA_NISTP521_SHA512, RSA_PSS_SHA256, RSA_PSS_SHA384, RSA_PSS_SHA512, ED25519, ED448, Unknown(u16),
Expand description
The SignatureScheme
TLS protocol enum. Values in this enum are taken
from the various RFCs covering TLS, and are listed by IANA.
The Unknown
item is used when processing unrecognised ordinals.
Variants
Unknown(u16)
Implementations
Trait Implementations
impl Clone for SignatureScheme
[src]
impl Clone for SignatureScheme
[src]fn clone(&self) -> SignatureScheme
[src]
fn clone(&self) -> SignatureScheme
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Codec for SignatureScheme
[src]
impl Codec for SignatureScheme
[src]impl Debug for SignatureScheme
[src]
impl Debug for SignatureScheme
[src]impl DecomposedSignatureScheme for SignatureScheme
[src]
impl DecomposedSignatureScheme for SignatureScheme
[src]fn sign(&self) -> SignatureAlgorithm
[src]
fn make(alg: SignatureAlgorithm, hash: HashAlgorithm) -> SignatureScheme
[src]
impl PartialEq<SignatureScheme> for SignatureScheme
[src]
impl PartialEq<SignatureScheme> for SignatureScheme
[src]fn eq(&self, other: &SignatureScheme) -> bool
[src]
fn eq(&self, other: &SignatureScheme) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &SignatureScheme) -> bool
[src]
fn ne(&self, other: &SignatureScheme) -> bool
[src]This method tests for !=
.
impl Copy for SignatureScheme
[src]
impl Eq for SignatureScheme
[src]
impl StructuralEq for SignatureScheme
[src]
impl StructuralPartialEq for SignatureScheme
[src]
Auto Trait Implementations
impl RefUnwindSafe for SignatureScheme
impl Send for SignatureScheme
impl Sync for SignatureScheme
impl Unpin for SignatureScheme
impl UnwindSafe for SignatureScheme
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more