Enum mz_ccsr::client::GetSubjectConfigError
source · pub enum GetSubjectConfigError {
SubjectNotFound,
SubjectCompatibilityLevelNotSet,
Transport(Error),
Server {
code: i32,
message: String,
},
}
Expand description
Errors for schema lookups by subject.
Variants§
SubjectNotFound
The requested subject does not exist.
SubjectCompatibilityLevelNotSet
The compatibility level for the subject has not been set.
Transport(Error)
The underlying HTTP transport failed.
Server
An internal server error occurred.
Trait Implementations§
source§impl Debug for GetSubjectConfigError
impl Debug for GetSubjectConfigError
source§impl Display for GetSubjectConfigError
impl Display for GetSubjectConfigError
source§impl Error for GetSubjectConfigError
impl Error for GetSubjectConfigError
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<UnhandledError> for GetSubjectConfigError
impl From<UnhandledError> for GetSubjectConfigError
source§fn from(err: UnhandledError) -> GetSubjectConfigError
fn from(err: UnhandledError) -> GetSubjectConfigError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GetSubjectConfigError
impl !RefUnwindSafe for GetSubjectConfigError
impl Send for GetSubjectConfigError
impl Sync for GetSubjectConfigError
impl Unpin for GetSubjectConfigError
impl !UnwindSafe for GetSubjectConfigError
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