pub struct MediaError {
pub value: MediaErrorValue,
}Fields§
§value: MediaErrorValueTrait Implementations§
Source§impl Debug for MediaError
impl Debug for MediaError
Source§impl Display for MediaError
impl Display for MediaError
Source§impl Fail for MediaError
impl Fail for MediaError
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace carried by this failure, if it
carries one. Read moreSource§impl From<Error> for MediaError
impl From<Error> for MediaError
Source§impl From<FlvDemuxerError> for MediaError
impl From<FlvDemuxerError> for MediaError
Source§fn from(error: FlvDemuxerError) -> Self
fn from(error: FlvDemuxerError) -> Self
Converts to this type from the input type.
Source§impl From<MediaError> for HlsError
impl From<MediaError> for HlsError
Source§fn from(error: MediaError) -> Self
fn from(error: MediaError) -> Self
Converts to this type from the input type.
Source§impl From<MpegTsError> for MediaError
impl From<MpegTsError> for MediaError
Source§fn from(error: MpegTsError) -> Self
fn from(error: MpegTsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MediaError
impl !RefUnwindSafe for MediaError
impl Send for MediaError
impl Sync for MediaError
impl Unpin for MediaError
impl !UnwindSafe for MediaError
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