Enum webrtc_dtls::content::ContentType
source · pub enum ContentType {
ChangeCipherSpec,
Alert,
Handshake,
ApplicationData,
Invalid,
}
Variants§
Trait Implementations§
source§impl Clone for ContentType
impl Clone for ContentType
source§fn clone(&self) -> ContentType
fn clone(&self) -> ContentType
Returns a copy 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 ContentType
impl Debug for ContentType
source§impl Default for ContentType
impl Default for ContentType
source§fn default() -> ContentType
fn default() -> ContentType
Returns the “default value” for a type. Read more
source§impl From<u8> for ContentType
impl From<u8> for ContentType
source§impl PartialEq<ContentType> for ContentType
impl PartialEq<ContentType> for ContentType
source§fn eq(&self, other: &ContentType) -> bool
fn eq(&self, other: &ContentType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.