Struct vvm::factory::Factory[][src]

pub struct Factory { /* fields omitted */ }

Vvm factory. Creates appropriate Vvm.

Implementations

impl Factory[src]

pub fn create(
    &self,
    params: ActionParams,
    schedule: &Schedule,
    depth: usize
) -> Box<dyn Exec>
[src]

Create fresh instance of VM Might choose implementation depending on supplied gas.

pub fn new(cache_size: usize) -> Self[src]

Create new instance of a factory, with a size in bytes for caching jump destinations.

Trait Implementations

impl Clone for Factory[src]

impl Default for Factory[src]

fn default() -> Factory[src]

Returns native rust vvm factory

Auto Trait Implementations

impl !RefUnwindSafe for Factory

impl Send for Factory

impl Sync for Factory

impl Unpin for Factory

impl !UnwindSafe for Factory

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,