#[non_exhaustive]pub enum NativeEncoderRejection {
Dimensions,
OpenFailed,
OptionsIgnored,
}Expand description
Why one candidate encoder was not the one an export opened.
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.
Dimensions
The encoder refuses an output this small.
OpenFailed
avcodec_open2 failed: no device, no licence, unsupported profile.
OptionsIgnored
The encoder silently ignored an option alpha2 requires it to honour.
Implementations§
Trait Implementations§
Source§impl Clone for NativeEncoderRejection
impl Clone for NativeEncoderRejection
impl Copy for NativeEncoderRejection
Source§impl Debug for NativeEncoderRejection
impl Debug for NativeEncoderRejection
impl Eq for NativeEncoderRejection
Source§impl Hash for NativeEncoderRejection
impl Hash for NativeEncoderRejection
Source§impl PartialEq for NativeEncoderRejection
impl PartialEq for NativeEncoderRejection
impl StructuralPartialEq for NativeEncoderRejection
Auto Trait Implementations§
impl Freeze for NativeEncoderRejection
impl RefUnwindSafe for NativeEncoderRejection
impl Send for NativeEncoderRejection
impl Sync for NativeEncoderRejection
impl Unpin for NativeEncoderRejection
impl UnsafeUnpin for NativeEncoderRejection
impl UnwindSafe for NativeEncoderRejection
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.