pub enum SlopError {
Serialization(Error),
HandlerNotFound {
path: String,
action: String,
},
ActionFailed {
code: String,
message: String,
},
Transport(String),
ConnectionClosed,
}Expand description
Errors produced by the SLOP SDK.
Variants§
Trait Implementations§
Source§impl Error for SlopError
impl Error for SlopError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl Freeze for SlopError
impl !RefUnwindSafe for SlopError
impl Send for SlopError
impl Sync for SlopError
impl Unpin for SlopError
impl UnsafeUnpin for SlopError
impl !UnwindSafe for SlopError
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