pub enum RebindError {
Connection(String),
Timeout(String),
Server {
code: String,
message: String,
},
WebSocket(Error),
Json(Error),
}Variants§
Implementations§
Trait Implementations§
Source§impl Debug for RebindError
impl Debug for RebindError
Source§impl Display for RebindError
impl Display for RebindError
Source§impl Error for RebindError
impl Error for RebindError
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 RebindError
impl From<Error> for RebindError
Auto Trait Implementations§
impl !Freeze for RebindError
impl !RefUnwindSafe for RebindError
impl !UnwindSafe for RebindError
impl Send for RebindError
impl Sync for RebindError
impl Unpin for RebindError
impl UnsafeUnpin for RebindError
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