Enum amq_protocol::frame::GenError [−][src]
pub enum GenError {
BufferTooSmall(usize),
BufferTooBig(usize),
InvalidOffset,
IoError(Error),
CustomError(u32),
NotYetImplemented,
}
Expand description
Base type for generator errors
Variants
BufferTooSmall(usize)
Tuple Fields
0: usize
Input buffer is too small. Argument is the maximum index that is required
BufferTooBig(usize)
Tuple Fields
0: usize
We expected to fill the whole buffer but there is some space left
InvalidOffset
Operation asked for accessing an invalid index
IoError(Error)
Tuple Fields
0: Error
IoError returned by Write
CustomError(u32)
Tuple Fields
0: u32
Allocated for custom errors
NotYetImplemented
Generator or function not yet implemented
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for GenError
impl !UnwindSafe for GenError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more