pub struct NvencEncoder;Implementations§
Source§impl NvencEncoder
impl NvencEncoder
pub fn new(_config: EncoderConfig, _gpu_index: u32) -> Result<Self>
Trait Implementations§
Source§impl Encoder for NvencEncoder
impl Encoder for NvencEncoder
fn send_frame(&mut self, _frame: &VideoFrame) -> Result<()>
fn flush(&mut self) -> Result<()>
fn receive_packet(&mut self) -> Result<Option<EncodedPacket>>
Auto Trait Implementations§
impl Freeze for NvencEncoder
impl RefUnwindSafe for NvencEncoder
impl Send for NvencEncoder
impl Sync for NvencEncoder
impl Unpin for NvencEncoder
impl UnsafeUnpin for NvencEncoder
impl UnwindSafe for NvencEncoder
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