Struct nvml_wrapper::struct_wrappers::device::EncoderSessionInfo
source · [−]pub struct EncoderSessionInfo {
pub session_id: u32,
pub pid: u32,
pub vgpu_instance: Option<u32>,
pub codec_type: EncoderType,
pub hres: u32,
pub vres: u32,
pub average_fps: u32,
pub average_latency: u32,
}Expand description
Holds encoder session information.
Fields
session_id: u32Unique ID for this session.
pid: u32The ID of the process that owns this session.
vgpu_instance: Option<u32>The ID of the vGPU instance that owns this session (if applicable).
codec_type: EncoderTypehres: u32Current horizontal encoding resolution.
vres: u32Current vertical encoding resolution.
average_fps: u32Moving average encode frames per second.
average_latency: u32Moving average encode latency in μs.
Trait Implementations
sourceimpl Clone for EncoderSessionInfo
impl Clone for EncoderSessionInfo
sourcefn clone(&self) -> EncoderSessionInfo
fn clone(&self) -> EncoderSessionInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for EncoderSessionInfo
impl Debug for EncoderSessionInfo
sourceimpl Hash for EncoderSessionInfo
impl Hash for EncoderSessionInfo
sourceimpl PartialEq<EncoderSessionInfo> for EncoderSessionInfo
impl PartialEq<EncoderSessionInfo> for EncoderSessionInfo
sourcefn eq(&self, other: &EncoderSessionInfo) -> bool
fn eq(&self, other: &EncoderSessionInfo) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &EncoderSessionInfo) -> bool
fn ne(&self, other: &EncoderSessionInfo) -> bool
This method tests for !=.
impl Eq for EncoderSessionInfo
impl StructuralEq for EncoderSessionInfo
impl StructuralPartialEq for EncoderSessionInfo
Auto Trait Implementations
impl RefUnwindSafe for EncoderSessionInfo
impl Send for EncoderSessionInfo
impl Sync for EncoderSessionInfo
impl Unpin for EncoderSessionInfo
impl UnwindSafe for EncoderSessionInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more