pub enum CreateVideoContextError {
NotFoundAVCodec,
AllocAVContextError,
AllocAVHardwareDeviceContextError,
MissingDirect3DDevice,
InitAVHardwareDeviceContextError,
InitQsvDeviceContextError,
AllocAVHardwareFrameContextError,
InitAVHardwareFrameContextError,
}Variants§
NotFoundAVCodec
AllocAVContextError
AllocAVHardwareDeviceContextError
MissingDirect3DDevice
InitAVHardwareDeviceContextError
InitQsvDeviceContextError
AllocAVHardwareFrameContextError
InitAVHardwareFrameContextError
Trait Implementations§
Source§impl Debug for CreateVideoContextError
impl Debug for CreateVideoContextError
Source§impl Display for CreateVideoContextError
impl Display for CreateVideoContextError
Source§impl Error for CreateVideoContextError
impl Error for CreateVideoContextError
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()
Source§impl From<CreateVideoContextError> for VideoDecoderError
impl From<CreateVideoContextError> for VideoDecoderError
Source§fn from(source: CreateVideoContextError) -> Self
fn from(source: CreateVideoContextError) -> Self
Converts to this type from the input type.
Source§impl From<CreateVideoContextError> for VideoEncoderError
impl From<CreateVideoContextError> for VideoEncoderError
Source§fn from(source: CreateVideoContextError) -> Self
fn from(source: CreateVideoContextError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CreateVideoContextError
impl RefUnwindSafe for CreateVideoContextError
impl Send for CreateVideoContextError
impl Sync for CreateVideoContextError
impl Unpin for CreateVideoContextError
impl UnwindSafe for CreateVideoContextError
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