[−][src]Struct onnxruntime::error::OrtStatusWrapper
Wrapper type around a ONNX C API's OrtStatus
pointer
This wrapper exists to facilitate conversion from C raw pointers to Rust error types
Trait Implementations
impl From<*const OrtStatus> for OrtStatusWrapper
[src]
impl From<OrtStatusWrapper> for Result<(), OrtApiError>
[src]
fn from(status: OrtStatusWrapper) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for OrtStatusWrapper
impl !Send for OrtStatusWrapper
impl !Sync for OrtStatusWrapper
impl Unpin for OrtStatusWrapper
impl UnwindSafe for OrtStatusWrapper
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,