Modules§
- either
- indexmap
- indexset
- mime_
option - owned_
cow - Overrides the default
BorrowDecodeimplementation to always use the owned representation ofCow, so that the resultingBorrowDecodetype is independent of theCow’s lifetime. - ringset
- serde_
self_ describing - Helpers for serializing serde-compatible types inside of a bincode
EncodeorDecodeimplementation using a self-describing format. This works with types that#[bincode(serde)]does not support. - smallvec
Macros§
Structs§
- Hash
Writer - A
Writerthat sinks bytes directly into a [DeterministicHasher] instead of a buffer. - Turbo
Bincode Reader - This is equivalent to
bincode::de::read::SliceReader, but with a littleunsafecode to avoid some redundant bounds checks, andpubaccess to the underlyingbuffer. - Turbo
Bincode Writer
Constants§
- TURBO_
BINCODE_ CONFIG - TURBO_
BINCODE_ HASH_ CONFIG - Same as standard config, but since we aren’t encoding we don’t benefit from varint optimizations.
Traits§
- Turbo
Bincode Decode - Represents a type that can only be decoded with a
TurboBincodeDecoderand an empty()context. - Turbo
Bincode Encode - Represents a type that can only be encoded with a
TurboBincodeEncoder.
Functions§
- new_
hash_ encoder - Creates a new
HashEncoderthat encodes directly to the given hasher. - new_
turbo_ bincode_ decoder - new_
turbo_ bincode_ encoder - turbo_
bincode_ decode - Decode using a
TurboBincodeDecoderand check that the entire slice was consumed. Returns aDecodeError::ArrayLengthMismatchif some of the slice is not consumed during decoding. - turbo_
bincode_ encode - Encode the value into a new [
SmallVec] using aTurboBincodeEncoder. - turbo_
bincode_ encode_ into
Type Aliases§
- AnyDecode
Fn - AnyEncode
Fn - Hash
Encoder - An encoder that writes directly to a [
DeterministicHasher]. - Turbo
Bincode Buffer - Turbo
Bincode Decoder - Turbo
Bincode Encoder