pub enum PubsubClientError {
UrlParseError(ParseError),
ConnectionError(Error),
JsonParseError(Error),
UnexpectedMessageError(String),
RequestError(String),
}
Variants§
UrlParseError(ParseError)
ConnectionError(Error)
JsonParseError(Error)
UnexpectedMessageError(String)
RequestError(String)
Trait Implementations§
source§impl Debug for PubsubClientError
impl Debug for PubsubClientError
source§impl Display for PubsubClientError
impl Display for PubsubClientError
source§impl Error for PubsubClientError
impl Error for PubsubClientError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 PubsubClientError
impl From<Error> for PubsubClientError
source§impl From<Error> for PubsubClientError
impl From<Error> for PubsubClientError
source§impl From<ParseError> for PubsubClientError
impl From<ParseError> for PubsubClientError
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
source§impl From<PubsubClientError> for TpuSenderError
impl From<PubsubClientError> for TpuSenderError
source§fn from(source: PubsubClientError) -> Self
fn from(source: PubsubClientError) -> Self
Converts to this type from the input type.