[−][src]Struct nvml_rs::Handler
Fields
dev: nvmlDevice_t
Methods
impl Handler
[src]
pub fn new(index: u32) -> Result<Handler, String>
[src]
pub fn get_name(&self) -> Result<String, String>
[src]
pub fn get_uuid(&self) -> Result<String, String>
[src]
pub fn get_pci_info(&self) -> Result<String, String>
[src]
pub fn get_bar1_memory_info(&self) -> Result<(u64, u64), String>
[src]
pub fn get_clock_info(&self) -> Result<(u64, u64), String>
[src]
pub fn get_cuda_compute_capability(&self) -> Result<(u64, u64), String>
[src]
pub fn get_memory_info(&self) -> Result<nvmlMemory_t, String>
[src]
pub fn get_minor_number(&self) -> Result<u64, String>
[src]
pub fn get_power_management_limit(&self) -> Result<u64, String>
[src]
pub fn get_max_pcie_link_generation(&self) -> Result<u64, String>
[src]
pub fn get_max_pcie_link_width(&self) -> Result<u64, String>
[src]
Auto Trait Implementations
impl Unpin for Handler
impl !Sync for Handler
impl !Send for Handler
impl UnwindSafe for Handler
impl RefUnwindSafe for Handler
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,