Enum mz_ccsr::client::PublishError
source · pub enum PublishError {
IncompatibleSchema,
InvalidSchema {
message: String,
},
Transport(Error),
Server {
code: i32,
message: String,
},
}
Expand description
Errors for publish operations.
Variants§
IncompatibleSchema
The provided schema was not compatible with existing schemas for that subject, according to the subject’s forwards- or backwards-compatibility requirements.
InvalidSchema
The provided schema was invalid.
Transport(Error)
The underlying HTTP transport failed.
Server
An internal server error occurred.
Trait Implementations§
source§impl Debug for PublishError
impl Debug for PublishError
source§impl Display for PublishError
impl Display for PublishError
source§impl Error for PublishError
impl Error for PublishError
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 PublishError
impl From<UnhandledError> for PublishError
source§fn from(err: UnhandledError) -> PublishError
fn from(err: UnhandledError) -> PublishError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PublishError
impl !RefUnwindSafe for PublishError
impl Send for PublishError
impl Sync for PublishError
impl Unpin for PublishError
impl !UnwindSafe for PublishError
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