Enum mediasoup::worker::RequestError[][src]

pub enum RequestError {
    ChannelClosed,
    MessageTooLong,
    PayloadTooLong,
    TimedOut,
    Response {
        reason: String,
    },
    FailedToParse {
        error: String,
    },
    NoData,
}

Error that caused request to mediasoup-worker thread to fail.

Variants

ChannelClosed

Channel already closed.

MessageTooLong

Message is too long.

PayloadTooLong

Payload is too long.

TimedOut

Request timed out.

Response

Received response error.

Fields of Response

reason: String

Error reason.

FailedToParse

Failed to parse response from worker.

Fields of FailedToParse

error: String

Error reason.

NoData

Worker did not return any data in response.

Trait Implementations

impl Debug for RequestError[src]

impl Display for RequestError[src]

impl Eq for RequestError[src]

impl Error for RequestError[src]

impl From<RequestError> for PipeProducerToRouterError[src]

impl From<RequestError> for PipeDataProducerToRouterError[src]

impl PartialEq<RequestError> for RequestError[src]

impl StructuralEq for RequestError[src]

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