referrerpolicy=no-referrer-when-downgrade

Type Alias polkadot_sdk_frame::traits::FetchResult

pub type FetchResult = Result<Cow<'static, [u8]>, DispatchError>;

Aliased Type§

enum FetchResult {
    Ok(Cow<'static, [u8]>),
    Err(DispatchError),
}

Variants§

§1.0.0

Ok(Cow<'static, [u8]>)

Contains the success value

§1.0.0

Err(DispatchError)

Contains the error value