Enum nip_70::Nip70ClientError
source · pub enum Nip70ClientError {
ServerNotRunning,
UdsSocketError,
ProtocolError,
ServerError(Nip70ServerError),
}
Expand description
Errors that can occur when using the NIP-70 client.
Variants§
ServerNotRunning
The NIP-70 Unix domain socket server is not running.
UdsSocketError
An I/O error occurred while writing to or reading from the Unix domain socket.
ProtocolError
A NIP-70 protocol-level error occurred while encoding or decoding messages.
ServerError(Nip70ServerError)
Server returned an error.
Trait Implementations§
source§impl Debug for Nip70ClientError
impl Debug for Nip70ClientError
source§impl Display for Nip70ClientError
impl Display for Nip70ClientError
source§impl Error for Nip70ClientError
impl Error for Nip70ClientError
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 PartialEq for Nip70ClientError
impl PartialEq for Nip70ClientError
source§fn eq(&self, other: &Nip70ClientError) -> bool
fn eq(&self, other: &Nip70ClientError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Nip70ClientError
Auto Trait Implementations§
impl RefUnwindSafe for Nip70ClientError
impl Send for Nip70ClientError
impl Sync for Nip70ClientError
impl Unpin for Nip70ClientError
impl UnwindSafe for Nip70ClientError
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