pub struct TrtActor { /* private fields */ }Expand description
TrtActor — owns nothing across messages besides the FFI
runtime/builder handles, all engines/contexts ride the messages.
The actor itself is intentionally minimal: most of the heavy
state lives in Arc<TrtEngine> values that the caller threads
through. This mirrors DeviceActor’s design where per-context
state lives in the ContextActor but engines live with the
caller.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for TrtActor
impl !RefUnwindSafe for TrtActor
impl Send for TrtActor
impl Sync for TrtActor
impl Unpin for TrtActor
impl UnsafeUnpin for TrtActor
impl UnwindSafe for TrtActor
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