pub enum LNError {
HTTPError(String),
HTTPResponseError(ResponseError),
StrikeError(String),
JsonError(String),
}
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LNError
impl<'de> Deserialize<'de> for LNError
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
impl StructuralPartialEq for LNError
Auto Trait Implementations§
impl Freeze for LNError
impl RefUnwindSafe for LNError
impl Send for LNError
impl Sync for LNError
impl Unpin for LNError
impl UnwindSafe for LNError
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