pub enum FromWasmAbiResult<T, E> {
Ok(T),
Err(E),
}Variants§
Trait Implementations§
Source§impl<T, E> From<FromWasmAbiResult<T, E>> for Result<T, E>
impl<T, E> From<FromWasmAbiResult<T, E>> for Result<T, E>
Source§fn 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> Freeze for FromWasmAbiResult<T, E>
impl<T, E> RefUnwindSafe for FromWasmAbiResult<T, E>where
T: RefUnwindSafe,
E: RefUnwindSafe,
impl<T, E> Send for FromWasmAbiResult<T, E>
impl<T, E> Sync for FromWasmAbiResult<T, E>
impl<T, E> Unpin for FromWasmAbiResult<T, E>
impl<T, E> UnwindSafe for FromWasmAbiResult<T, E>where
T: UnwindSafe,
E: UnwindSafe,
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