pub enum ConsumerType {
Simple,
Simulcast,
Svc,
Pipe,
}
Expand description
Consumer type.
Variants§
Simple
A single RTP stream is sent with no spatial/temporal layers.
Simulcast
Two or more RTP streams are sent, each of them with one or more temporal layers.
Svc
A single RTP stream is sent with spatial/temporal layers.
Pipe
Special type for consumers created on a
PipeTransport
.
Trait Implementations§
Source§impl Clone for ConsumerType
impl Clone for ConsumerType
Source§fn clone(&self) -> ConsumerType
fn clone(&self) -> ConsumerType
Returns a copy 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 ConsumerType
impl Debug for ConsumerType
Source§impl<'de> Deserialize<'de> for ConsumerType
impl<'de> Deserialize<'de> for ConsumerType
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ProducerType> for ConsumerType
impl From<ProducerType> for ConsumerType
Source§fn from(producer_type: ProducerType) -> Self
fn from(producer_type: ProducerType) -> Self
Converts to this type from the input type.
Source§impl Hash for ConsumerType
impl Hash for ConsumerType
Source§impl Ord for ConsumerType
impl Ord for ConsumerType
Source§fn cmp(&self, other: &ConsumerType) -> Ordering
fn cmp(&self, other: &ConsumerType) -> 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 ConsumerType
impl PartialEq for ConsumerType
Source§impl PartialOrd for ConsumerType
impl PartialOrd for ConsumerType
Source§impl Serialize for ConsumerType
impl Serialize for ConsumerType
impl Copy for ConsumerType
impl Eq for ConsumerType
impl StructuralPartialEq for ConsumerType
Auto Trait Implementations§
impl Freeze for ConsumerType
impl RefUnwindSafe for ConsumerType
impl Send for ConsumerType
impl Sync for ConsumerType
impl Unpin for ConsumerType
impl UnwindSafe for ConsumerType
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