Struct wasmtime_wasi_nn::WasiNnCtx [−][src]
pub struct WasiNnCtx { /* fields omitted */ }
Expand description
This structure provides the Rust-side context necessary for implementing the wasi-nn API. At the moment, it is specialized for a single inference implementation (i.e. OpenVINO) but conceivably this could support more than one backing implementation.
Implementations
Auto Trait Implementations
impl !RefUnwindSafe for WasiNnCtx
impl !Send for WasiNnCtx
impl !Sync for WasiNnCtx
impl Unpin for WasiNnCtx
impl UnwindSafe for WasiNnCtx
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,