pub enum TransactionPayloadDecoderError {
PayloadTooSmall,
ExternalArgsBufferTooSmall,
OutputIndexNotFound(u8),
AlignmentPowerTooLarge(u8),
OutputBufferTooSmall,
OutputBufferOffsetsTooSmall,
}
Expand description
Errors for TransactionPayloadDecoder
Variants§
PayloadTooSmall
Payload too small
ExternalArgsBufferTooSmall
ExternalArgs
buffer too small
OutputIndexNotFound(u8)
Output index not found
AlignmentPowerTooLarge(u8)
Alignment power is too large
OutputBufferTooSmall
Output buffer too small
OutputBufferOffsetsTooSmall
Output buffer offsets too small
Trait Implementations§
Source§impl Error for TransactionPayloadDecoderError
impl Error for TransactionPayloadDecoderError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for TransactionPayloadDecoderError
impl RefUnwindSafe for TransactionPayloadDecoderError
impl Send for TransactionPayloadDecoderError
impl Sync for TransactionPayloadDecoderError
impl Unpin for TransactionPayloadDecoderError
impl UnwindSafe for TransactionPayloadDecoderError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more