Struct async_tensorrt::runtime::Runtime
source · pub struct Runtime { /* private fields */ }
Expand description
Allows a serialized engine to be serialized.
Implementations§
source§impl Runtime
impl Runtime
sourcepub async fn deserialize_engine_from_plan(
self,
plan: &HostBuffer
) -> Result<Engine, Error>
pub async fn deserialize_engine_from_plan( self, plan: &HostBuffer ) -> Result<Engine, Error>
Auto Trait Implementations§
impl RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnwindSafe for Runtime
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