Skip to main content

Module protocol

Module protocol 

Source
Expand description

Lowlevel protocol types and helpers

Enums§

FastBootCommand
Fastboot commands
FastBootResponse
Fastboot response
FastBootResponseParseError
Parse errors for fastboot responses

Functions§

parse_u32
Parses a u32 from a string that can be either hex (0x prefixed) or decimal.
parse_u32_hex
Parse a hexadecimal 0x prefixed string e.g. 0x1234 into a u32
parse_u64_hex
Parse a hexadecimal 0x prefixed string e.g. 0x1234 into a u64