pub enum LSPS5Error {
Protocol(LSPS5ProtocolError),
Client(LSPS5ClientError),
}Expand description
Combined error type for LSPS5 client and protocol errors.
This enum wraps both specification-defined protocol errors and client-side processing errors into a single error type for use throughout the LSPS5 implementation.
Variants§
Protocol(LSPS5ProtocolError)
An error defined in the LSPS5 specification.
This represents errors that are part of the formal protocol.
Client(LSPS5ClientError)
A client-side processing error.
This represents errors that occur during client-side handling of notifications or other validation.
Trait Implementations§
Source§impl Clone for LSPS5Error
impl Clone for LSPS5Error
Source§fn clone(&self) -> LSPS5Error
fn clone(&self) -> LSPS5Error
Returns a duplicate 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 LSPS5Error
impl Debug for LSPS5Error
Source§impl<'de> Deserialize<'de> for LSPS5Error
impl<'de> Deserialize<'de> for LSPS5Error
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<LSPS5ClientError> for LSPS5Error
impl From<LSPS5ClientError> for LSPS5Error
Source§fn from(e: LSPS5ClientError) -> Self
fn from(e: LSPS5ClientError) -> Self
Converts to this type from the input type.
Source§impl From<LSPS5Error> for LSPSResponseError
impl From<LSPS5Error> for LSPSResponseError
Source§fn from(e: LSPS5Error) -> Self
fn from(e: LSPS5Error) -> Self
Converts to this type from the input type.
Source§impl From<LSPS5ProtocolError> for LSPS5Error
impl From<LSPS5ProtocolError> for LSPS5Error
Source§fn from(e: LSPS5ProtocolError) -> Self
fn from(e: LSPS5ProtocolError) -> Self
Converts to this type from the input type.
Source§impl From<LSPSResponseError> for LSPS5Error
impl From<LSPSResponseError> for LSPS5Error
Source§fn from(err: LSPSResponseError) -> Self
fn from(err: LSPSResponseError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LSPS5Error
impl PartialEq for LSPS5Error
Source§impl Serialize for LSPS5Error
impl Serialize for LSPS5Error
impl Eq for LSPS5Error
impl StructuralPartialEq for LSPS5Error
Auto Trait Implementations§
impl Freeze for LSPS5Error
impl RefUnwindSafe for LSPS5Error
impl Send for LSPS5Error
impl Sync for LSPS5Error
impl Unpin for LSPS5Error
impl UnwindSafe for LSPS5Error
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