[−][src]Enum ckb_verification::TransactionError
Variants
output.occupied_capacity() > output.capacity()
Fields of InsufficientCellCapacity
SUM([o.capacity for o in outputs]) > SUM([i.capacity for i in inputs])
inputs.is_empty() || outputs.is_empty()
Duplicated dep-out-points within the same transaction
Fields of DuplicateCellDeps
out_point: OutPoint
Duplicated headers deps without within the same transaction
Fields of DuplicateHeaderDeps
hash: Byte32
outputs.len() != outputs_data.len()
The format of transaction.since
is invalid
Fields of InvalidSince
index: usize
The transaction is not mature which is required by transaction.since
Fields of Immature
index: usize
The transaction is not mature which is required by cellbase maturity rule
Fields of CellbaseImmaturity
source: TransactionErrorSource
index: usize
The transaction version is mismatched with the system can hold
The transaction size is too large
Implementations
impl TransactionError
[src]
pub fn is_malformed_tx(&self) -> bool
[src]
Trait Implementations
impl Clone for TransactionError
[src]
fn clone(&self) -> TransactionError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TransactionError
[src]
impl Display for TransactionError
[src]
impl Eq for TransactionError
[src]
impl Fail for TransactionError
[src]
fn name(&self) -> Option<&str>
[src]
fn cause(&self) -> Option<&dyn Fail>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
[src]
D: Display + Send + Sync + 'static,
fn compat(self) -> Compat<Self>
[src]
impl From<TransactionError> for Error
[src]
fn from(error: TransactionError) -> Self
[src]
impl PartialEq<TransactionError> for TransactionError
[src]
fn eq(&self, other: &TransactionError) -> bool
[src]
fn ne(&self, other: &TransactionError) -> bool
[src]
impl StructuralEq for TransactionError
[src]
impl StructuralPartialEq for TransactionError
[src]
Auto Trait Implementations
impl RefUnwindSafe for TransactionError
impl Send for TransactionError
impl Sync for TransactionError
impl Unpin for TransactionError
impl UnwindSafe for TransactionError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsAny for T where
T: Any,
[src]
T: Any,
impl<T> AsFail for T where
T: Fail,
[src]
T: Fail,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Erased for T
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
[src]
E: 'static + Error + Send + Sync,
fn name(&self) -> Option<&str>
[src]
fn cause(&self) -> Option<&(dyn Fail + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
[src]
D: Display + Send + Sync + 'static,
fn compat(self) -> Compat<Self>
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,