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