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