pub enum Nip70ServerError {
Rejected,
InternalError,
MethodNotFound,
}
Expand description
Errors that can be returned from Nip70
trait functions.
Variants§
Rejected
The server rejected the request. This most likely means that the user declined to perform the operation for the app that requested it.
InternalError
The server encountered an internal error while processing the request.
MethodNotFound
The server does not support the requested method.
Trait Implementations§
Source§impl Clone for Nip70ServerError
impl Clone for Nip70ServerError
Source§fn clone(&self) -> Nip70ServerError
fn clone(&self) -> Nip70ServerError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Nip70ServerError
impl Debug for Nip70ServerError
Source§impl PartialEq for Nip70ServerError
impl PartialEq for Nip70ServerError
impl StructuralPartialEq for Nip70ServerError
Auto Trait Implementations§
impl Freeze for Nip70ServerError
impl RefUnwindSafe for Nip70ServerError
impl Send for Nip70ServerError
impl Sync for Nip70ServerError
impl Unpin for Nip70ServerError
impl UnwindSafe for Nip70ServerError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more