pub struct NativeRateControlProbe {
pub mechanism: RateControlMechanism,
pub options: Option<String>,
pub outcome: Result<u32, String>,
pub device: Option<String>,
}Expand description
Whether one encoder opened with one rate-control mechanism.
Fields§
§mechanism: RateControlMechanismThe mechanism asked for.
options: Option<String>The options that carried it, or None where alpha2 knows no spelling for
it on this encoder’s family.
outcome: Result<u32, String>Packets drained when it opened, consumed every option and encoded a frame; otherwise why not.
device: Option<String>The device a hardware-frames encoder was probed on: a Vulkan device
index for *_vulkan, and for *_d3d12va the DX12 adapter that
answered (DX12 adapter <index> (<name>)).
Trait Implementations§
Source§impl Clone for NativeRateControlProbe
impl Clone for NativeRateControlProbe
Source§impl Debug for NativeRateControlProbe
impl Debug for NativeRateControlProbe
impl Eq for NativeRateControlProbe
Source§impl PartialEq for NativeRateControlProbe
impl PartialEq for NativeRateControlProbe
impl StructuralPartialEq for NativeRateControlProbe
Auto Trait Implementations§
impl Freeze for NativeRateControlProbe
impl RefUnwindSafe for NativeRateControlProbe
impl Send for NativeRateControlProbe
impl Sync for NativeRateControlProbe
impl Unpin for NativeRateControlProbe
impl UnsafeUnpin for NativeRateControlProbe
impl UnwindSafe for NativeRateControlProbe
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.