pub enum SessionSubjectAltName {
Uri(String),
DnsName(String),
IpAddress(String),
Email(String),
}Expand description
Requested subject alternative name for a session certificate.
Variants§
Uri(String)
URI SAN, normally under urn:sunlit:*.
DnsName(String)
DNS SAN. Not allowed for native-client session certificates.
IpAddress(String)
IP address SAN. Not allowed for native-client session certificates.
Email(String)
Email SAN. Not allowed for native-client session certificates.
Trait Implementations§
Source§impl Clone for SessionSubjectAltName
impl Clone for SessionSubjectAltName
Source§fn clone(&self) -> SessionSubjectAltName
fn clone(&self) -> SessionSubjectAltName
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 moreSource§impl Debug for SessionSubjectAltName
impl Debug for SessionSubjectAltName
Source§impl PartialEq for SessionSubjectAltName
impl PartialEq for SessionSubjectAltName
Source§fn eq(&self, other: &SessionSubjectAltName) -> bool
fn eq(&self, other: &SessionSubjectAltName) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SessionSubjectAltName
impl StructuralPartialEq for SessionSubjectAltName
Auto Trait Implementations§
impl Freeze for SessionSubjectAltName
impl RefUnwindSafe for SessionSubjectAltName
impl Send for SessionSubjectAltName
impl Sync for SessionSubjectAltName
impl Unpin for SessionSubjectAltName
impl UnsafeUnpin for SessionSubjectAltName
impl UnwindSafe for SessionSubjectAltName
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