Enum breez_sdk_liquid::LnUrlError
pub enum LnUrlError {
Generic(String),
InvalidInvoice(String),
InvalidUri(String),
ServiceConnectivity(String),
}
Variants§
Implementations§
§impl LnUrlError
impl LnUrlError
pub fn generic(err: &str) -> LnUrlError
pub fn invalid_uri(err: &str) -> LnUrlError
Trait Implementations§
§impl Debug for LnUrlError
impl Debug for LnUrlError
§impl Display for LnUrlError
impl Display for LnUrlError
§impl Error for LnUrlError
impl Error for LnUrlError
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()
§impl From<DecodeError> for LnUrlError
impl From<DecodeError> for LnUrlError
§fn from(err: DecodeError) -> LnUrlError
fn from(err: DecodeError) -> LnUrlError
Converts to this type from the input type.
§impl From<Error> for LnUrlError
impl From<Error> for LnUrlError
§fn from(err: Error) -> LnUrlError
fn from(err: Error) -> LnUrlError
Converts to this type from the input type.
§impl From<Error> for LnUrlError
impl From<Error> for LnUrlError
§fn from(err: Error) -> LnUrlError
fn from(err: Error) -> LnUrlError
Converts to this type from the input type.
§impl From<Error> for LnUrlError
impl From<Error> for LnUrlError
§fn from(err: Error) -> LnUrlError
fn from(err: Error) -> LnUrlError
Converts to this type from the input type.
§impl From<Error> for LnUrlError
impl From<Error> for LnUrlError
§fn from(err: Error) -> LnUrlError
fn from(err: Error) -> LnUrlError
Converts to this type from the input type.
§impl From<FromUtf8Error> for LnUrlError
impl From<FromUtf8Error> for LnUrlError
§fn from(err: FromUtf8Error) -> LnUrlError
fn from(err: FromUtf8Error) -> LnUrlError
Converts to this type from the input type.
§impl From<InvalidLength> for LnUrlError
impl From<InvalidLength> for LnUrlError
§fn from(err: InvalidLength) -> LnUrlError
fn from(err: InvalidLength) -> LnUrlError
Converts to this type from the input type.
§impl From<InvoiceError> for LnUrlError
impl From<InvoiceError> for LnUrlError
§fn from(value: InvoiceError) -> LnUrlError
fn from(value: InvoiceError) -> LnUrlError
Converts to this type from the input type.
§impl From<LnUrlError> for LnUrlAuthError
impl From<LnUrlError> for LnUrlAuthError
§fn from(value: LnUrlError) -> LnUrlAuthError
fn from(value: LnUrlError) -> LnUrlAuthError
Converts to this type from the input type.
§impl From<LnUrlError> for LnUrlPayError
impl From<LnUrlError> for LnUrlPayError
§fn from(value: LnUrlError) -> LnUrlPayError
fn from(value: LnUrlError) -> LnUrlPayError
Converts to this type from the input type.
§impl From<LnUrlError> for LnUrlWithdrawError
impl From<LnUrlError> for LnUrlWithdrawError
§fn from(value: LnUrlError) -> LnUrlWithdrawError
fn from(value: LnUrlError) -> LnUrlWithdrawError
Converts to this type from the input type.
§impl From<TryFromSliceError> for LnUrlError
impl From<TryFromSliceError> for LnUrlError
§fn from(err: TryFromSliceError) -> LnUrlError
fn from(err: TryFromSliceError) -> LnUrlError
Converts to this type from the input type.
§impl From<UnpadError> for LnUrlError
impl From<UnpadError> for LnUrlError
§fn from(err: UnpadError) -> LnUrlError
fn from(err: UnpadError) -> LnUrlError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LnUrlError
impl RefUnwindSafe for LnUrlError
impl Send for LnUrlError
impl Sync for LnUrlError
impl Unpin for LnUrlError
impl UnwindSafe for LnUrlError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request