Enum tokio_ffmpeg_cli::Error
source · pub enum Error {
ProcessSpawn(Error),
MissingInput,
MissingOutput,
Io(Error),
OutputAlreadyExists,
InvalidProgressEvent(LineBuilderError),
InvalidExitStatus(ExitStatus),
InvalidUtf8Str(Utf8Error),
InvalidEncoderLine(EncoderFromLineError),
}
Expand description
The error type
Variants§
ProcessSpawn(Error)
Failed to spawn a process
MissingInput
The input file was not specified
MissingOutput
The output file was not specified
Io(Error)
An IO error occured
OutputAlreadyExists
The output file already exists
InvalidProgressEvent(LineBuilderError)
Failed to construct a progress event
InvalidExitStatus(ExitStatus)
An exit status was invalid
InvalidUtf8Str(Utf8Error)
Failed to convert bytes to a str
InvalidEncoderLine(EncoderFromLineError)
Invalid encoder
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<FromLineError> for Error
impl From<FromLineError> for Error
source§fn from(source: EncoderFromLineError) -> Self
fn from(source: EncoderFromLineError) -> Self
Converts to this type from the input type.
source§impl From<LineBuilderError> for Error
impl From<LineBuilderError> for Error
source§fn from(source: LineBuilderError) -> Self
fn from(source: LineBuilderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin 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