Enum evm::Capture [−][src]
pub enum Capture<E, T> { Exit(E), Trap(T), }
Expand description
Capture represents the result of execution.
Variants
The machine has exited. It cannot be executed again.
The machine has trapped. It is waiting for external information, and can be executed again.
Trait Implementations
impl<E, T> Copy for Capture<E, T> where
T: Copy,
E: Copy,
[src]
T: Copy,
E: Copy,
impl<E, T> Eq for Capture<E, T> where
T: Eq,
E: Eq,
[src]
T: Eq,
E: Eq,
impl<E, T> StructuralEq for Capture<E, T>
[src]
impl<E, T> StructuralPartialEq for Capture<E, T>
[src]
Auto Trait Implementations
impl<E, T> RefUnwindSafe for Capture<E, T> where
E: RefUnwindSafe,
T: RefUnwindSafe,
E: RefUnwindSafe,
T: RefUnwindSafe,
impl<E, T> Send for Capture<E, T> where
E: Send,
T: Send,
E: Send,
T: Send,
impl<E, T> Sync for Capture<E, T> where
E: Sync,
T: Sync,
E: Sync,
T: Sync,
impl<E, T> Unpin for Capture<E, T> where
E: Unpin,
T: Unpin,
E: Unpin,
T: Unpin,
impl<E, T> UnwindSafe for Capture<E, T> where
E: UnwindSafe,
T: UnwindSafe,
E: UnwindSafe,
T: UnwindSafe,
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> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,