pub enum RtcSdpType {
Unspecified = 0,
Offer = 1,
Pranswer = 2,
Answer = 3,
Rollback = 4,
}
Expand description
SDPType describes the type of an SessionDescription.
Variants§
Unspecified = 0
Unspecified indicates that the type is unspecified.
Offer = 1
indicates that a description MUST be treated as an SDP offer.
Pranswer = 2
indicates that a description MUST be treated as an SDP answer, but not a final answer. A description used as an SDP pranswer may be applied as a response to an SDP offer, or an update to a previously sent SDP pranswer.
Answer = 3
indicates that a description MUST be treated as an SDP final answer, and the offer-answer exchange MUST be considered complete. A description used as an SDP answer may be applied as a response to an SDP offer or as an update to a previously sent SDP pranswer.
Rollback = 4
indicates that a description MUST be treated as canceling the current SDP negotiation and moving the SDP offer and answer back to what it was in the previous stable state. Note the local or remote SDP descriptions in the previous stable state could be null if there has not yet been a successful offer-answer negotiation.
Trait Implementations§
source§impl Clone for RtcSdpType
impl Clone for RtcSdpType
source§fn clone(&self) -> RtcSdpType
fn clone(&self) -> RtcSdpType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RtcSdpType
impl Debug for RtcSdpType
source§impl Default for RtcSdpType
impl Default for RtcSdpType
source§fn default() -> RtcSdpType
fn default() -> RtcSdpType
source§impl<'de> Deserialize<'de> for RtcSdpType
impl<'de> Deserialize<'de> for RtcSdpType
source§fn 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>,
source§impl From<RTCSdpType> for RtcSdpType
impl From<RTCSdpType> for RtcSdpType
source§fn from(sdp_type: RTCSdpType) -> Self
fn from(sdp_type: RTCSdpType) -> Self
source§impl From<RtcSdpType> for RTCSdpType
impl From<RtcSdpType> for RTCSdpType
source§fn from(sdp_type: RtcSdpType) -> Self
fn from(sdp_type: RtcSdpType) -> Self
source§impl JsonSchema for RtcSdpType
impl JsonSchema for RtcSdpType
source§fn schema_name() -> String
fn schema_name() -> String
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moresource§impl PartialEq for RtcSdpType
impl PartialEq for RtcSdpType
source§fn eq(&self, other: &RtcSdpType) -> bool
fn eq(&self, other: &RtcSdpType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RtcSdpType
impl Serialize for RtcSdpType
impl Copy for RtcSdpType
impl Eq for RtcSdpType
impl StructuralPartialEq for RtcSdpType
Auto Trait Implementations§
impl Freeze for RtcSdpType
impl RefUnwindSafe for RtcSdpType
impl Send for RtcSdpType
impl Sync for RtcSdpType
impl Unpin for RtcSdpType
impl UnwindSafe for RtcSdpType
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
source§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
&self
to an expression for Diesel’s query builder. Read more