Type Alias scale_decode::visitor::BitSequenceError
source · pub type BitSequenceError = FromMetadataError;
Expand description
An error that can occur trying to decode a bit sequence.
Aliased Type§
enum BitSequenceError {
OrderFormatNotFound(u32),
StoreFormatNotFound(u32),
NoBitOrderIdent,
StoreFormatNotSupported(String),
OrderFormatNotSupported(String),
}
Variants§
OrderFormatNotFound(u32)
The registry did not contain the bit order type listed.
StoreFormatNotFound(u32)
The registry did not contain the bit store type listed.
NoBitOrderIdent
The bit order type did not have a valid identifier/name.
StoreFormatNotSupported(String)
The bit store type that we found was not what we expected (a primitive u8/u16/u32/u64).
OrderFormatNotSupported(String)
The bit order type name that we found was not what we expected (“Lsb0” or “Msb0”).