Crate bitcoinleveldb_log

Source

Structs§

ExtendedRecordTypes
LogReader
LogWriter
PosixLogger

Enums§

LogRecordType

Constants§

LOG_BLOCK_SIZE
LOG_HEADER_SIZE
Header is checksum (4 bytes), length (2 bytes), type (1 byte).
LOG_MAX_RECORD_TYPE

Traits§

LogReaderReporter
| Interface for reporting errors. |
Logger
| An interface for writing log messages. |
Logv

Functions§

append_escaped_string_to
| Append a human-readable printout of | “value” to *str. | | Escapes any non-printable characters | found in “value”. |
append_number_to
| Append a human-readable printout of | “num” to *str |
consume_decimal_number
| Parse a human-readable number from “*in” into | *value. On success, advances “*in” past the | consumed number and sets “*val” to the numeric | value. Otherwise, returns false and leaves *in | in an unspecified state.
escape_string
| Return a human-readable version of “value”. | | Escapes any non-printable characters found in | “value”.
init_type_crc
number_to_string
| Return a human-readable printout of | “num” |