#[non_exhaustive]pub enum SdpDirection {
SendRecv,
SendOnly,
RecvOnly,
Inactive,
}Expand description
SDP direction attribute from an a= line.
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.
SendRecv
a=sendrecv — bidirectional (the default when no direction attribute is present).
SendOnly
a=sendonly — the sender transmits but does not receive.
RecvOnly
a=recvonly — the sender receives but does not transmit.
Inactive
a=inactive — neither side transmits.
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 moreimpl Copy for SdpDirection
Source§impl Debug for SdpDirection
impl Debug for SdpDirection
Source§impl Display for SdpDirection
impl Display for SdpDirection
impl Eq for SdpDirection
Source§impl FromStr for SdpDirection
impl FromStr for SdpDirection
Source§impl Hash for SdpDirection
impl Hash for SdpDirection
Source§impl PartialEq for SdpDirection
impl PartialEq 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.