pub enum SdpDirection {
Local,
LocalRing,
Remote,
Unknown,
}Expand description
Which end of a call an SDP body belongs to.
Variants§
Local
LocalRing
Local SDP sent in a 180/183 early media response.
Remote
Unknown
SDP reference that doesn’t specify local or remote.
Trait Implementations§
Source§impl Clone for SdpDirection
impl Clone for SdpDirection
Source§fn clone(&self) -> SdpDirection
fn clone(&self) -> SdpDirection
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 SdpDirection
impl Debug for SdpDirection
Source§impl Display for SdpDirection
impl Display for SdpDirection
Source§impl PartialEq for SdpDirection
impl PartialEq for SdpDirection
Source§fn eq(&self, other: &SdpDirection) -> bool
fn eq(&self, other: &SdpDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SdpDirection
impl StructuralPartialEq for SdpDirection
Auto Trait Implementations§
impl Freeze for SdpDirection
impl RefUnwindSafe for SdpDirection
impl Send for SdpDirection
impl Sync for SdpDirection
impl Unpin for SdpDirection
impl UnsafeUnpin for SdpDirection
impl UnwindSafe for SdpDirection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.