Skip to content

Commit 114511c

Browse files
resolve clippy issues
1 parent 37c9f54 commit 114511c

File tree

1 file changed

+0
-34
lines changed

1 file changed

+0
-34
lines changed

nvml-wrapper/src/structs/device.rs

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -167,37 +167,3 @@ pub enum ConfidentialComputeGpuCapabilities {
167167
/// Not capable.
168168
NotCapable,
169169
}
170-
171-
/// Returned from `Device.confidential_compute_gpu_certificate()`
172-
#[derive(Debug, Clone, Eq, PartialEq, Hash)]
173-
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
174-
pub struct ConfidentialComputeGpuCertificate {
175-
/// The size of the certificate chain.
176-
pub cert_chain_size: u32,
177-
/// The size of the attestation certificate chain.
178-
pub attestation_cert_chain_size: u32,
179-
/// The certificate chain, of size
180-
/// `ffi::bindings::NVML_GPU_CERT_CHAIN_SIZE == 4096`.
181-
pub cert_chain: Vec<u8>,
182-
/// The attestation certificate chain, of size
183-
/// `ffi::bindings::NVML_GPU_ATTESTATION_CERT_CHAIN_SIZE == 5120`.
184-
pub attestation_cert_chain: Vec<u8>,
185-
}
186-
187-
/// Returned from `Device.confidential_compute_gpu_attestation_report_bytes()`
188-
#[derive(Debug, Clone, Eq, PartialEq, Hash)]
189-
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
190-
pub struct ConfidentialComputeGpuAttestationReport {
191-
/// The size of the attestation report.
192-
pub attestation_report_size: u32,
193-
/// The attestation report, of size
194-
/// `ffi::bindings::NVML_CC_GPU_ATTESTATION_REPORT_SIZE == 8192`.
195-
pub attestation_report: Vec<u8>,
196-
/// Whether the CEC attestation report is present.
197-
pub is_cec_attestation_report_present: bool,
198-
/// The size of the CEC attestation report.
199-
pub cec_attestation_report_size: u32,
200-
/// The CEC attestation report, of size
201-
/// `ffi::bindings::NVML_CC_GPU_CEC_ATTESTATION_REPORT_SIZE == 4096`.
202-
pub cec_attestation_report: Vec<u8>,
203-
}

0 commit comments

Comments
 (0)