pub enum ConsumeError {
ProducerNotFound(ProducerId),
FailedRtpCapabilitiesValidation(RtpCapabilitiesError),
BadConsumerRtpParameters(ConsumerRtpParametersError),
Request(RequestError),
}
Expand description
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§
Source§impl Debug for ConsumeError
impl Debug for ConsumeError
Source§impl Display for ConsumeError
impl Display for ConsumeError
Source§impl Error for ConsumeError
impl Error for ConsumeError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<ConsumeError> for PipeProducerToRouterError
impl From<ConsumeError> for PipeProducerToRouterError
Source§fn from(error: ConsumeError) -> Self
fn from(error: ConsumeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConsumeError
impl !RefUnwindSafe for ConsumeError
impl Send for ConsumeError
impl Sync for ConsumeError
impl Unpin for ConsumeError
impl !UnwindSafe for ConsumeError
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