Enum ccsr::PublishError [−][src]
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
Fields
message: String
The provided schema was invalid.
Transport(Error)
Tuple Fields
0: Error
The underlying HTTP transport failed.
Server
An internal server error occured.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for PublishError
impl Send for PublishError
impl Sync for PublishError
impl Unpin for PublishError
impl !UnwindSafe for PublishError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more