pub enum PolymarketError {
PoisonedLock(String),
Serialization(Error),
Http(Error),
WebSocket(String),
InvalidData(String),
}Variants§
Trait Implementations§
Source§impl Debug for PolymarketError
impl Debug for PolymarketError
Source§impl Display for PolymarketError
impl Display for PolymarketError
Source§impl Error for PolymarketError
impl Error for PolymarketError
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()
Source§impl From<Error> for PolymarketError
impl From<Error> for PolymarketError
Auto Trait Implementations§
impl Freeze for PolymarketError
impl !RefUnwindSafe for PolymarketError
impl Send for PolymarketError
impl Sync for PolymarketError
impl Unpin for PolymarketError
impl !UnwindSafe for PolymarketError
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