pub enum ProduceError {
AlreadyExists(ProducerId),
IncorrectRtpParameters(RtpParametersError),
FailedRtpParametersMapping(RtpParametersMappingError),
Request(RequestError),
}
Expand description
Error that caused Transport::produce
to fail.
Variants§
AlreadyExists(ProducerId)
Producer with the same id already exists.
IncorrectRtpParameters(RtpParametersError)
Incorrect RTP parameters.
FailedRtpParametersMapping(RtpParametersMappingError)
RTP mapping error.
Request(RequestError)
Request to worker failed.
Trait Implementations§
Source§impl Debug for ProduceError
impl Debug for ProduceError
Source§impl Display for ProduceError
impl Display for ProduceError
Source§impl Error for ProduceError
impl Error for ProduceError
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<ProduceError> for PipeProducerToRouterError
impl From<ProduceError> for PipeProducerToRouterError
Source§fn from(error: ProduceError) -> Self
fn from(error: ProduceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ProduceError
impl !RefUnwindSafe for ProduceError
impl Send for ProduceError
impl Sync for ProduceError
impl Unpin for ProduceError
impl !UnwindSafe for ProduceError
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