Enum oxygengine_core::assets::protocol::AssetLoadResult[][src]

pub enum AssetLoadResult {
    Error(String),
    Data(Box<dyn Any + Send + Sync>),
    Yield(MetaVec<(String, String)>),
}

Variants

Error(String)

Tuple Fields of Error

0: String
Data(Box<dyn Any + Send + Sync>)

Tuple Fields of Data

0: Box<dyn Any + Send + Sync>
Yield(MetaVec<(String, String)>)

(meta, [(key, path to load)])

Tuple Fields of Yield

0: Meta1: Vec<(String, String)>

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.