pub enum FeePolicyError {
Transaction(TransactionError),
Script(ScriptError),
TransactionWeightOutOfRange,
VirtualSizeOutOfRange {
virtual_bytes: u64,
},
ArithmeticOverflow,
}Variants§
Transaction(TransactionError)
Script(ScriptError)
TransactionWeightOutOfRange
VirtualSizeOutOfRange
ArithmeticOverflow
Trait Implementations§
Source§impl Debug for FeePolicyError
impl Debug for FeePolicyError
Source§impl Display for FeePolicyError
impl Display for FeePolicyError
Source§impl Error for FeePolicyError
impl Error for FeePolicyError
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()
Source§impl From<ScriptError> for FeePolicyError
impl From<ScriptError> for FeePolicyError
Source§fn from(source: ScriptError) -> Self
fn from(source: ScriptError) -> Self
Converts to this type from the input type.
Source§impl From<TransactionError> for FeePolicyError
impl From<TransactionError> for FeePolicyError
Source§fn from(source: TransactionError) -> Self
fn from(source: TransactionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FeePolicyError
impl RefUnwindSafe for FeePolicyError
impl Send for FeePolicyError
impl Sync for FeePolicyError
impl Unpin for FeePolicyError
impl UnsafeUnpin for FeePolicyError
impl UnwindSafe for FeePolicyError
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