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§
- 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§
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§
- 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