pub enum SchemaRegistryError {
ReqwestError(Error),
ReqwestMiddlewareError(Error),
UrlError(ParseError),
ApiError(ApiError),
SchemaRegistryError(String),
}
Expand description
A schema registry error
Variants§
ReqwestError(Error)
An error with reqwest
ReqwestMiddlewareError(Error)
An error with reqwest middleware
UrlError(ParseError)
An error when building an URL
ApiError(ApiError)
An API error
SchemaRegistryError(String)
A schema registry error
Trait Implementations§
Source§impl Debug for SchemaRegistryError
impl Debug for SchemaRegistryError
Source§impl Display for SchemaRegistryError
impl Display for SchemaRegistryError
Source§impl Error for SchemaRegistryError
impl Error for SchemaRegistryError
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<ApiError> for SchemaRegistryError
impl From<ApiError> for SchemaRegistryError
Source§impl From<Error> for SchemaRegistryError
impl From<Error> for SchemaRegistryError
Source§impl From<Error> for SchemaRegistryError
impl From<Error> for SchemaRegistryError
Source§impl From<ParseError> for SchemaRegistryError
impl From<ParseError> for SchemaRegistryError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SchemaRegistryError
impl !RefUnwindSafe for SchemaRegistryError
impl Send for SchemaRegistryError
impl Sync for SchemaRegistryError
impl Unpin for SchemaRegistryError
impl !UnwindSafe for SchemaRegistryError
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