oasis_core_runtime
0.0.0
Key
Aliased type
Trait Implementations
Marshal
In oasis_core_runtime::storage::mkvs
?
Type Alias
oasis_core_runtime
::
storage
::
mkvs
::
Key
source
·
[
−
]
pub type Key =
Vec
<
u8
>;
Aliased Type
§
struct Key {
/* private fields */
}
Trait Implementations
§
source
§
impl
Marshal
for
Key
source
§
fn
marshal_binary
(&self) ->
Result
<
Vec
<
u8
>>
Marshal the object into a binary form and return it as a new vector.
source
§
fn
unmarshal_binary
(&mut self, data: &[
u8
]) ->
Result
<
usize
>
Unmarshal from the given byte slice reference and modify
self
.