#[repr(transparent)]pub struct FfmpegErrorCode(pub i32);
Expand description
An enum that represents the ffmpeg error code.
Tuple Fields§
§0: i32
Implementations§
Source§impl FfmpegErrorCode
impl FfmpegErrorCode
Sourcepub const InvalidData: Self
pub const InvalidData: Self
FFmpeg error code for invalid data.
Sourcepub const MuxerNotFound: Self
pub const MuxerNotFound: Self
FFmpeg error code for muxer not found.
Sourcepub const OptionNotFound: Self
pub const OptionNotFound: Self
FFmpeg error code for option not found.
Sourcepub const PatchWelcome: Self
pub const PatchWelcome: Self
FFmpeg error code for patch welcome.
Sourcepub const ProtocolNotFound: Self
pub const ProtocolNotFound: Self
FFmpeg error code for protocol not found.
Sourcepub const StreamNotFound: Self
pub const StreamNotFound: Self
FFmpeg error code for stream not found.
Sourcepub const BitstreamFilterNotFound: Self
pub const BitstreamFilterNotFound: Self
FFmpeg error code for bitstream filter not found.
Sourcepub const BufferTooSmall: Self
pub const BufferTooSmall: Self
FFmpeg error code for buffer too small.
Sourcepub const DecoderNotFound: Self
pub const DecoderNotFound: Self
FFmpeg error code for decoder not found.
Sourcepub const DemuxerNotFound: Self
pub const DemuxerNotFound: Self
FFmpeg error code for demuxer not found.
Sourcepub const EncoderNotFound: Self
pub const EncoderNotFound: Self
FFmpeg error code for encoder not found.
Sourcepub const FilterNotFound: Self
pub const FilterNotFound: Self
FFmpeg error code for filter not found.
Sourcepub const HttpBadRequest: Self
pub const HttpBadRequest: Self
FFmpeg error code for http bad request.
Sourcepub const HttpForbidden: Self
pub const HttpForbidden: Self
FFmpeg error code for http forbidden.
Sourcepub const HttpNotFound: Self
pub const HttpNotFound: Self
FFmpeg error code for http not found.
Sourcepub const HttpOther4xx: Self
pub const HttpOther4xx: Self
FFmpeg error code for http other 4xx.
Sourcepub const HttpServerError: Self
pub const HttpServerError: Self
FFmpeg error code for http server error.
FFmpeg error code for http unauthorized.
Source§impl FfmpegErrorCode
impl FfmpegErrorCode
Sourcepub const fn result(self) -> Result<i32, FfmpegError>
pub const fn result(self) -> Result<i32, FfmpegError>
Returns the result of the error code.
Sourcepub const fn is_success(self) -> bool
pub const fn is_success(self) -> bool
Returns true if the error code is a success code.
Trait Implementations§
Source§impl Clone for FfmpegErrorCode
impl Clone for FfmpegErrorCode
Source§fn clone(&self) -> FfmpegErrorCode
fn clone(&self) -> FfmpegErrorCode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more