[][src]Enum gluon_vm::api::IO

pub enum IO<T> {
    Value(T),
    Exception(String),
}

Type representing gluon's IO type

Variants

Value(T)
Exception(String)

Trait Implementations

impl<T> VmType for IO<T> where
    T: VmType,
    T::Type: Sized
[src]

type Type = IO<T::Type>

A version of Self which implements Any allowing a TypeId to be retrieved

impl<'vm, T: Pushable<'vm>> Pushable<'vm> for IO<T>[src]

impl<'vm, 'value, T: Getable<'vm, 'value>> Getable<'vm, 'value> for IO<T>[src]

type Proxy = Variants<'value>

impl<T> Into<Result<T, String>> for IO<T>[src]

impl<T, E> From<Result<T, E>> for IO<T> where
    E: Display
[src]

impl<T: PartialEq> PartialEq<IO<T>> for IO<T>[src]

impl<T: Debug> Debug for IO<T>[src]

impl<T> StructuralPartialEq for IO<T>[src]

Auto Trait Implementations

impl<T> Send for IO<T> where
    T: Send

impl<T> Sync for IO<T> where
    T: Sync

impl<T> Unpin for IO<T> where
    T: Unpin

impl<T> UnwindSafe for IO<T> where
    T: UnwindSafe

impl<T> RefUnwindSafe for IO<T> where
    T: RefUnwindSafe

Blanket Implementations

impl<D, T> FromPtr<D> for T[src]

impl<'vm, T> AsyncPushable<'vm> for T where
    T: Pushable<'vm>, 
[src]

impl<'vm, T> Pushable<'vm> for T where
    T: Userdata
[src]

impl<T> DowncastArc for T where
    T: Downcast + Send + Sync
[src]

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

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

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<Choices> CoproductSubsetter<CNil, HNil> for Choices[src]

type Remainder = Choices

impl<Source> Sculptor<HNil, HNil> for Source[src]

type Remainder = Source

impl<T, U, I> LiftInto<U, I> for T where
    U: LiftFrom<T, I>, 
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]