Enum mediasoup::transport::ConsumeError[][src]

pub enum ConsumeError {
    ProducerNotFound(ProducerId),
    FailedRtpCapabilitiesValidation(RtpCapabilitiesError),
    BadConsumerRtpParameters(ConsumerRtpParametersError),
    Request(RequestError),
}

Error that caused Transport::consume to fail.

Variants

ProducerNotFound(ProducerId)

Producer with specified id not found.

FailedRtpCapabilitiesValidation(RtpCapabilitiesError)

RTP capabilities error.

BadConsumerRtpParameters(ConsumerRtpParametersError)

Bad consumer RTP parameters.

Request(RequestError)

Request to worker failed.

Trait Implementations

impl Debug for ConsumeError[src]

impl Display for ConsumeError[src]

impl Eq for ConsumeError[src]

impl Error for ConsumeError[src]

impl From<ConsumeError> for PipeProducerToRouterError[src]

impl PartialEq<ConsumeError> for ConsumeError[src]

impl StructuralEq for ConsumeError[src]

impl StructuralPartialEq for ConsumeError[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> 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.