pub struct RuntimeEngine { /* private fields */ }Implementations§
Source§impl RuntimeEngine
impl RuntimeEngine
pub fn new(pack: LoadedModelPack) -> Self
pub fn with_invoke_handler(self, handler: Arc<dyn InvokeHandler>) -> Self
pub fn handle(&self, request: RuntimeRequest) -> RuntimeResponse
Trait Implementations§
Source§impl Clone for RuntimeEngine
impl Clone for RuntimeEngine
Source§fn clone(&self) -> RuntimeEngine
fn clone(&self) -> RuntimeEngine
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 !RefUnwindSafe for RuntimeEngine
impl !UnwindSafe for RuntimeEngine
impl Freeze for RuntimeEngine
impl Send for RuntimeEngine
impl Sync for RuntimeEngine
impl Unpin for RuntimeEngine
impl UnsafeUnpin for RuntimeEngine
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