☰
Version
Trait Implementations
ConfigParamVariant
From<AnyBlockVersion>
In chain_impl_mockchain::header::cstruct
?
Type Alias
chain_impl_mockchain
::
header
::
cstruct
::
Version
source
·
[
−
]
pub(super) type Version =
u8
;
Trait Implementations
§
source
§
impl
ConfigParamVariant
for
u8
source
§
fn
to_payload
(&self) ->
Vec
<
u8
>
ⓘ
source
§
fn
from_payload
(payload: &[
u8
]) ->
Result
<Self,
Error
>
source
§
impl
From
<
AnyBlockVersion
> for
u8
source
§
fn
from
(block_version:
AnyBlockVersion
) ->
u8
Converts to this type from the input type.