Enum tea_runtime_codec::error::UpgradeError
source · pub enum UpgradeError {
IncompatibleVersion(String, String),
}Variants§
Trait Implementations§
source§impl Debug for UpgradeError
impl Debug for UpgradeError
source§impl Descriptor<UpgradeError> for RuntimeCodec
impl Descriptor<UpgradeError> for RuntimeCodec
fn name<'a>(_: &'a UpgradeError) -> Option<Cow<'a, str>>
fn summary<'a>(__value__: &'a UpgradeError) -> Option<Cow<'a, str>>
fn detail<'a>(__value__: &'a UpgradeError) -> Option<Cow<'a, str>>
fn type_id<'a>(_: &'a UpgradeError) -> Option<TypeId>
fn inner(v: &T) -> Option<SmallVec<[&Error<()>; 1]>>
source§impl Display for UpgradeError
impl Display for UpgradeError
source§impl Error for UpgradeError
impl Error for UpgradeError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()