pub enum SwScalerError {
Ffmpeg(Error),
UnsupportedBuffer(&'static str),
}Expand description
Errors specific to SwScaler. Converts into the crate-wide Error via
? (see crate::error::Error).
Variants§
Trait Implementations§
Source§impl Debug for SwScalerError
impl Debug for SwScalerError
Source§impl Display for SwScalerError
impl Display for SwScalerError
Source§impl Error for SwScalerError
impl Error for SwScalerError
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 SwScalerError
impl From<Error> for SwScalerError
Source§impl From<SwScalerError> for Error
impl From<SwScalerError> for Error
Source§fn from(source: SwScalerError) -> Self
fn from(source: SwScalerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SwScalerError
impl RefUnwindSafe for SwScalerError
impl Send for SwScalerError
impl Sync for SwScalerError
impl Unpin for SwScalerError
impl UnsafeUnpin for SwScalerError
impl UnwindSafe for SwScalerError
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