pub enum RtpStreamDirection {
Send,
Recv,
}Expand description
Direction tokens used by RFC 8851 RID and RFC 8853 simulcast attributes.
Parsing uses the case-sensitive RFC tokens.
Variants§
Implementations§
Trait Implementations§
Source§impl AsRef<str> for RtpStreamDirection
impl AsRef<str> for RtpStreamDirection
Source§impl Clone for RtpStreamDirection
impl Clone for RtpStreamDirection
Source§fn clone(&self) -> RtpStreamDirection
fn clone(&self) -> RtpStreamDirection
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 RtpStreamDirection
impl Debug for RtpStreamDirection
Source§impl Display for RtpStreamDirection
impl Display for RtpStreamDirection
Source§impl Hash for RtpStreamDirection
impl Hash for RtpStreamDirection
Source§impl Ord for RtpStreamDirection
impl Ord for RtpStreamDirection
Source§fn cmp(&self, other: &RtpStreamDirection) -> Ordering
fn cmp(&self, other: &RtpStreamDirection) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RtpStreamDirection
impl PartialEq for RtpStreamDirection
Source§impl PartialOrd for RtpStreamDirection
impl PartialOrd for RtpStreamDirection
impl Copy for RtpStreamDirection
impl Eq for RtpStreamDirection
impl StructuralPartialEq for RtpStreamDirection
Auto Trait Implementations§
impl Freeze for RtpStreamDirection
impl RefUnwindSafe for RtpStreamDirection
impl Send for RtpStreamDirection
impl Sync for RtpStreamDirection
impl Unpin for RtpStreamDirection
impl UnsafeUnpin for RtpStreamDirection
impl UnwindSafe for RtpStreamDirection
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