Trait tea_sdk::vmh::IntoGlobal

pub trait IntoGlobal {
    type Value;

    // Required method
    fn into_g<E>(self) -> Result<Self::Value, E>
       where E: From<Global>;
}

Required Associated Types§

type Value

Required Methods§

fn into_g<E>(self) -> Result<Self::Value, E>where E: From<Global>,

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl<T, E> IntoGlobal for Result<T, E>where Global: From<E>,

§

type Value = T

§

fn into_g<E2>(self) -> Result<<Result<T, E> as IntoGlobal>::Value, E2>where E2: From<Global>,

Implementors§