pub enum HlsKitError {
IO(Error),
FFMPEGBUILDER(FfmpegCommandBuilderError),
GSTREAMERBUILDER(GStreamerCommandBuilderError),
VideoProcessingError(VideoProcessingErrors),
VideoValidationError(VideoValidatableErrors),
FfmpegError {
error: String,
},
GstreamerError {
error: String,
},
CommandExecutionError {
error: String,
},
FileNotFound {
file_path: String,
},
}Variants§
IO(Error)
FFMPEGBUILDER(FfmpegCommandBuilderError)
GSTREAMERBUILDER(GStreamerCommandBuilderError)
VideoProcessingError(VideoProcessingErrors)
VideoValidationError(VideoValidatableErrors)
FfmpegError
GstreamerError
CommandExecutionError
FileNotFound
Trait Implementations§
Source§impl Debug for HlsKitError
impl Debug for HlsKitError
Source§impl Display for HlsKitError
impl Display for HlsKitError
Source§impl Error for HlsKitError
impl Error for HlsKitError
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<Error> for HlsKitError
impl From<Error> for HlsKitError
Source§impl From<FfmpegCommandBuilderError> for HlsKitError
impl From<FfmpegCommandBuilderError> for HlsKitError
Source§fn from(source: FfmpegCommandBuilderError) -> Self
fn from(source: FfmpegCommandBuilderError) -> Self
Converts to this type from the input type.
Source§impl From<GStreamerCommandBuilderError> for HlsKitError
impl From<GStreamerCommandBuilderError> for HlsKitError
Source§fn from(source: GStreamerCommandBuilderError) -> Self
fn from(source: GStreamerCommandBuilderError) -> Self
Converts to this type from the input type.
Source§impl From<VideoProcessingErrors> for HlsKitError
impl From<VideoProcessingErrors> for HlsKitError
Source§fn from(source: VideoProcessingErrors) -> Self
fn from(source: VideoProcessingErrors) -> Self
Converts to this type from the input type.
Source§impl From<VideoValidatableErrors> for HlsKitError
impl From<VideoValidatableErrors> for HlsKitError
Source§fn from(source: VideoValidatableErrors) -> Self
fn from(source: VideoValidatableErrors) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for HlsKitError
impl !UnwindSafe for HlsKitError
impl Freeze for HlsKitError
impl Send for HlsKitError
impl Sync for HlsKitError
impl Unpin for HlsKitError
impl UnsafeUnpin for HlsKitError
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