Module raft_engine::codec[][src]

Enums

Error

Constants

F64_SIZE
I64_SIZE
MAX_VAR_I64_LEN
MAX_VAR_U64_LEN
U64_SIZE

Traits

NumberEncoder

Functions

decode_f32_le

Decodes value encoded by encode_f32_le before.

decode_f64

Decodes value encoded by encode_f64 before.

decode_f64_desc

Decodes value encoded by encode_f64_desc before.

decode_f64_le

Decodes value encoded by encode_f64_le before.

decode_i32_le

Decodes value encoded by encode_i32_le before.

decode_i64

Decodes value encoded by encode_i64 before.

decode_i64_desc

Decodes value encoded by encode_i64_desc before.

decode_i64_le

Decodes value encoded by encode_i64_le before.

decode_u16

Decodes value encoded by encode_u16 before.

decode_u16_le

Decodes value encoded by encode_u16_le before.

decode_u32

Decodes value encoded by encode_u32 before.

decode_u32_le

Decodes value encoded by encode_u32_le before.

decode_u64

Decodes value encoded by encode_u64 before.

decode_u64_desc

Decodes value encoded by encode_u64_desc before.

decode_u64_le

Decodes value encoded by encode_u64_le before.

decode_var_i64

Decodes value encoded by encode_var_i64 before.

decode_var_u64

Decodes value encoded by encode_var_u64 before.

read_u8

Type Definitions

BytesSlice
Result