#[non_exhaustive]pub enum HlsEncoderAttemptOutcome {
NotRegistered,
OpenFailed {
width: u32,
height: u32,
raw_code: i32,
message: String,
},
}Expand description
Outcome of one auto-selection attempt.
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.
NotRegistered
avcodec_find_encoder_by_name returned null.
OpenFailed
Trial avcodec_open2 failed for a rendition of this ladder.
Trait Implementations§
Source§impl Clone for HlsEncoderAttemptOutcome
impl Clone for HlsEncoderAttemptOutcome
Source§fn clone(&self) -> HlsEncoderAttemptOutcome
fn clone(&self) -> HlsEncoderAttemptOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HlsEncoderAttemptOutcome
impl RefUnwindSafe for HlsEncoderAttemptOutcome
impl Send for HlsEncoderAttemptOutcome
impl Sync for HlsEncoderAttemptOutcome
impl Unpin for HlsEncoderAttemptOutcome
impl UnsafeUnpin for HlsEncoderAttemptOutcome
impl UnwindSafe for HlsEncoderAttemptOutcome
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