pub struct EnginePlan(pub Vec<u8>);Expand description
Owned plan blob (serialised engine).
Stored as a Vec<u8> rather than the TensorRT IHostMemory* so
it survives shim teardown and can be journaled / written to disk.
Tuple Fields§
§0: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for EnginePlan
impl Clone for EnginePlan
Source§fn clone(&self) -> EnginePlan
fn clone(&self) -> EnginePlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EnginePlan
impl RefUnwindSafe for EnginePlan
impl Send for EnginePlan
impl Sync for EnginePlan
impl Unpin for EnginePlan
impl UnsafeUnpin for EnginePlan
impl UnwindSafe for EnginePlan
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