#[non_exhaustive]#[repr(u32)]pub enum dtls_peer_type {
DTLS_CLIENT = 0,
DTLS_SERVER = 1,
}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.
Trait Implementations§
Source§impl Clone for dtls_peer_type
impl Clone for dtls_peer_type
Source§fn clone(&self) -> dtls_peer_type
fn clone(&self) -> dtls_peer_type
Returns a duplicate of the value. Read more
1.0.0 · 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 dtls_peer_type
impl Debug for dtls_peer_type
Source§impl Hash for dtls_peer_type
impl Hash for dtls_peer_type
Source§impl PartialEq for dtls_peer_type
impl PartialEq for dtls_peer_type
impl Copy for dtls_peer_type
impl Eq for dtls_peer_type
impl StructuralPartialEq for dtls_peer_type
Auto Trait Implementations§
impl Freeze for dtls_peer_type
impl RefUnwindSafe for dtls_peer_type
impl Send for dtls_peer_type
impl Sync for dtls_peer_type
impl Unpin for dtls_peer_type
impl UnwindSafe for dtls_peer_type
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