Enum sdp::direction::Direction[][src]

pub enum Direction {
    DirectionUnknown,
    DirectionSendRecv,
    DirectionSendOnly,
    DirectionRecvOnly,
    DirectionInactive,
}

Direction is a marker for transmission direction of an endpoint

Variants

DirectionUnknown
DirectionSendRecv

DirectionSendRecv is for bidirectional communication

DirectionSendOnly

DirectionSendOnly is for outgoing communication

DirectionRecvOnly

DirectionRecvOnly is for incoming communication

DirectionInactive

DirectionInactive is for no communication

Implementations

impl Direction[src]

NewDirection defines a procedure for creating a new direction from a raw string.

pub fn new(raw: &str) -> Self[src]

Trait Implementations

impl Clone for Direction[src]

impl Debug for Direction[src]

impl Default for Direction[src]

impl Display for Direction[src]

impl PartialEq<Direction> for Direction[src]

impl StructuralPartialEq for Direction[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,