Enum openmls::credentials::CredentialType
source · [−]#[repr(u16)]
pub enum CredentialType {
Basic,
X509,
}
Expand description
CredentialType.
This enum contains variants for the different Credential Types.
Variants
Basic
X509
An X.509 Certificate
Trait Implementations
sourceimpl Clone for CredentialType
impl Clone for CredentialType
sourcefn clone(&self) -> CredentialType
fn clone(&self) -> CredentialType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CredentialType
impl Debug for CredentialType
sourceimpl Deserialize for CredentialType
impl Deserialize for CredentialType
sourcefn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
This function deserializes the bytes
from the provided a std::io::Read
and returns the populated struct. Read more
sourceimpl<'de> Deserialize<'de> for CredentialType
impl<'de> Deserialize<'de> for CredentialType
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<CredentialType> for CredentialType
impl PartialEq<CredentialType> for CredentialType
sourceimpl Serialize for CredentialType
impl Serialize for CredentialType
sourceimpl Serialize for CredentialType
impl Serialize for CredentialType
sourceimpl Serialize for &CredentialType
impl Serialize for &CredentialType
sourceimpl Size for CredentialType
impl Size for CredentialType
fn tls_serialized_len(&self) -> usize
sourceimpl Size for &CredentialType
impl Size for &CredentialType
fn tls_serialized_len(&self) -> usize
sourceimpl TryFrom<u16> for CredentialType
impl TryFrom<u16> for CredentialType
impl Copy for CredentialType
impl StructuralPartialEq for CredentialType
Auto Trait Implementations
impl RefUnwindSafe for CredentialType
impl Send for CredentialType
impl Sync for CredentialType
impl Unpin for CredentialType
impl UnwindSafe for CredentialType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more