#[non_exhaustive]pub enum EncodingOperationError {
SendFrameError(EncodingError),
ReceivePacketError(EncodingError),
ReceiveAudioError(EncodingError),
SubtitleNotPts,
MuxerFinished,
MuxQueueFull,
EncodeSubtitle(EncodeSubtitleError),
AllocPacket(AllocPacketError),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SendFrameError(EncodingError)
ReceivePacketError(EncodingError)
ReceiveAudioError(EncodingError)
SubtitleNotPts
MuxerFinished
MuxQueueFull
An output stream buffered more packets before the muxer started than the
pre-mux queue admits (fftools AVERROR_BUFFER_TOO_SMALL, “Too many
packets buffered for output stream”). Unlike MuxerFinished this is a
hard failure — never a silent truncation — so it must reach the
scheduler error, not the graceful stop path.
EncodeSubtitle(EncodeSubtitleError)
AllocPacket(AllocPacketError)
Trait Implementations§
Source§impl Debug for EncodingOperationError
impl Debug for EncodingOperationError
Source§impl Display for EncodingOperationError
impl Display for EncodingOperationError
Source§impl Error for EncodingOperationError
impl Error for EncodingOperationError
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<EncodeSubtitleError> for EncodingOperationError
impl From<EncodeSubtitleError> for EncodingOperationError
Source§fn from(source: EncodeSubtitleError) -> Self
fn from(source: EncodeSubtitleError) -> Self
Converts to this type from the input type.
Source§impl From<EncodingOperationError> for Error
impl From<EncodingOperationError> for Error
Source§fn from(source: EncodingOperationError) -> Self
fn from(source: EncodingOperationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EncodingOperationError
impl RefUnwindSafe for EncodingOperationError
impl Send for EncodingOperationError
impl Sync for EncodingOperationError
impl Unpin for EncodingOperationError
impl UnsafeUnpin for EncodingOperationError
impl UnwindSafe for EncodingOperationError
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