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