pub enum FromWasmAbiResult<T, E> {
Ok(T),
Err(E),
}
Variants
Ok(T)
Contains the success value
Err(E)
Contains the error value
Trait Implementations
sourceimpl<T: Debug, E: Debug> Debug for FromWasmAbiResult<T, E>
impl<T: Debug, E: Debug> Debug for FromWasmAbiResult<T, E>
sourceimpl<T, E> From<FromWasmAbiResult<T, E>> for Result<T, E>
impl<T, E> From<FromWasmAbiResult<T, E>> for Result<T, E>
sourcefn from(result: FromWasmAbiResult<T, E>) -> Self
fn from(result: FromWasmAbiResult<T, E>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl<T, E> RefUnwindSafe for FromWasmAbiResult<T, E>where
E: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, E> Send for FromWasmAbiResult<T, E>where
E: Send,
T: Send,
impl<T, E> Sync for FromWasmAbiResult<T, E>where
E: Sync,
T: Sync,
impl<T, E> Unpin for FromWasmAbiResult<T, E>where
E: Unpin,
T: Unpin,
impl<T, E> UnwindSafe for FromWasmAbiResult<T, E>where
E: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more