pub enum Error {
}Expand description
Wedeo error type, modeled after FFmpeg’s AVERROR codes.
Variants§
Eof
End of file / stream.
Again
Resource temporarily unavailable (try again).
InvalidData
Invalid data found when processing input.
DecoderNotFound
Decoder not found.
EncoderNotFound
Encoder not found.
DemuxerNotFound
Demuxer not found.
MuxerNotFound
Muxer not found.
FilterNotFound
Filter not found.
ProtocolNotFound
Protocol not found.
StreamNotFound
Stream not found.
Bug
Bug detected (should not happen, indicates a bug in wedeo).
OptionNotFound
Option not found.
PatchwelcomeNotImplemented
Not yet implemented.
Exit
Exit requested.
InvalidArgument
Invalid argument.
OutOfMemory
Out of memory.
Io(ErrorKind)
I/O error with message.
Other(String)
Other error with message.
Trait Implementations§
Source§impl Error for Error
impl Error for Error
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()
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl UnwindSafe for Error
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