pub enum VmResult<T> {
Ok(T),
Err(VmError),
}
Expand description
A result produced by the virtual machine.
Variants§
Implementations§
Trait Implementations§
Source§impl<T> MaybeTypeOf for VmResult<T>where
T: MaybeTypeOf,
impl<T> MaybeTypeOf for VmResult<T>where
T: MaybeTypeOf,
Source§fn maybe_type_of() -> Result<DocType>
fn maybe_type_of() -> Result<DocType>
Type information for the given type.
Source§impl<T> Termination for VmResult<T>
Available on crate feature std
only.
impl<T> Termination for VmResult<T>
Available on crate feature
std
only.Auto Trait Implementations§
impl<T> Freeze for VmResult<T>where
T: Freeze,
impl<T> !RefUnwindSafe for VmResult<T>
impl<T> Send for VmResult<T>where
T: Send,
impl<T> Sync for VmResult<T>where
T: Sync,
impl<T> Unpin for VmResult<T>where
T: Unpin,
impl<T> !UnwindSafe for VmResult<T>
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