Enum lightning_invoice::SignOrCreationError [−][src]
pub enum SignOrCreationError<S = ()> {
SignError(S),
CreationError(CreationError),
}
Expand description
When signing using a fallible method either an user-supplied SignError
or a CreationError
may occur.
Variants
SignError(S)
An error occurred during signing
CreationError(CreationError)
Tuple Fields
An error occurred while building the transaction
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<S> RefUnwindSafe for SignOrCreationError<S> where
S: RefUnwindSafe,
impl<S> Send for SignOrCreationError<S> where
S: Send,
impl<S> Sync for SignOrCreationError<S> where
S: Sync,
impl<S> Unpin for SignOrCreationError<S> where
S: Unpin,
impl<S> UnwindSafe for SignOrCreationError<S> where
S: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more