Enum amq_protocol_types::generation::GenError [−][src]
pub enum GenError {
BufferTooSmall(usize),
BufferTooBig(usize),
InvalidOffset,
IoError(Error),
CustomError(u32),
NotYetImplemented,
}
Expand description
Serialization types and traits Base type for generator errors
Variants
BufferTooSmall(usize)
Input buffer is too small. Argument is the maximum index that is required
BufferTooBig(usize)
We expected to fill the whole buffer but there is some space left
Operation asked for accessing an invalid index
IoError(Error)
IoError returned by Write
CustomError(u32)
Allocated for custom errors
Generator or function not yet implemented