pub enum FeeError {
MatchError(InputMatchError),
InputsLessThanOutputs,
}
Expand description
Errors happening during fee computation
Variants§
MatchError(InputMatchError)
No input source information found because of wrong or incomplete PSBT structure
InputsLessThanOutputs
Sum of inputs is less than sum of outputs
Trait Implementations§
source§impl Error for FeeError
impl Error for FeeError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<InputMatchError> for FeeError
impl From<InputMatchError> for FeeError
source§fn from(v: InputMatchError) -> Self
fn from(v: InputMatchError) -> Self
Converts to this type from the input type.
source§impl Ord for FeeError
impl Ord for FeeError
source§impl PartialEq for FeeError
impl PartialEq for FeeError
source§impl PartialOrd for FeeError
impl PartialOrd for FeeError
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for FeeError
impl Eq for FeeError
impl StructuralPartialEq for FeeError
Auto Trait Implementations§
impl Freeze for FeeError
impl RefUnwindSafe for FeeError
impl Send for FeeError
impl Sync for FeeError
impl Unpin for FeeError
impl UnwindSafe for FeeError
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