Skip to main content

AssetBody

Type Alias AssetBody 

Source
pub type AssetBody<B> = Either<Full<Bytes>, B>;
Expand description

The body of an AssetService response: an asset, or the fallback’s body.

Aliased Type§

pub enum AssetBody<B> {
    Left(Full<Bytes>),
    Right(B),
}

Variants§

§

Left(Full<Bytes>)

A value of type L

§

Right(B)

A value of type R