Enum cardano_serialization_lib::chain_core::mempack::ReadError [−][src]
pub enum ReadError { NotEnoughBytes(usize, usize), UnconsumedData(usize), SizeTooBig(usize, usize), StructureInvalid(String), UnknownTag(u32), }
Variants
Return the number of bytes left and the number of bytes demanded
Data is left in the buffer
Tuple Fields of UnconsumedData
0: usize
Expecting a size that is above the limit
Structure of data is not what it should be
Tuple Fields of StructureInvalid
0: String
Unknown enumeration tag
Tuple Fields of UnknownTag
0: u32
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ReadError
impl UnwindSafe for ReadError
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self