#[repr(i32)]pub enum EngineValidity {
kVALID = 0,
kSUBOPTIMAL = 1,
kINVALID = 2,
}Expand description
! enum EngineValidity ! \brief Whether a TensorRT-RTX engine is likely to be valid on the current system. ! \note The value is determined by only inspecting the header, so even an engine marked ! kVALID or kSUBOPTIMAL may be invalid if the body has become corrupted. ! \see IRuntime::getEngineValidity()
Variants§
kVALID = 0
! Engine is likely to be valid on the current system, based on the information in the header.
kSUBOPTIMAL = 1
! Engine is likely to be valid on the current system, but may show reduced performance.
kINVALID = 2
! Engine is invalid on the current system.
Trait Implementations§
Source§impl Clone for EngineValidity
impl Clone for EngineValidity
Source§fn clone(&self) -> EngineValidity
fn clone(&self) -> EngineValidity
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ExternType for EngineValidity
impl ExternType for EngineValidity
Source§impl Hash for EngineValidity
impl Hash for EngineValidity
Source§impl PartialEq for EngineValidity
impl PartialEq for EngineValidity
impl Eq for EngineValidity
impl StructuralPartialEq for EngineValidity
impl UniquePtrTarget for EngineValidity
impl VectorElement for EngineValidity
impl WeakPtrTarget for EngineValidity
Auto Trait Implementations§
impl Freeze for EngineValidity
impl RefUnwindSafe for EngineValidity
impl Send for EngineValidity
impl Sync for EngineValidity
impl Unpin for EngineValidity
impl UnwindSafe for EngineValidity
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