pub enum SetCompatibilityLevelError {
InvalidCompatibilityLevel,
Transport(Error),
Server {
code: i32,
message: String,
},
}
Expand description
Errors for setting compatibility level operations.
Variants§
InvalidCompatibilityLevel
The compatibility level is invalid.
Transport(Error)
The underlying HTTP transport failed.
Server
An internal server error occurred.
Trait Implementations§
source§impl Debug for SetCompatibilityLevelError
impl Debug for SetCompatibilityLevelError
source§impl Display for SetCompatibilityLevelError
impl Display for SetCompatibilityLevelError
source§impl Error for SetCompatibilityLevelError
impl Error for SetCompatibilityLevelError
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 SetCompatibilityLevelError
impl From<UnhandledError> for SetCompatibilityLevelError
source§fn from(err: UnhandledError) -> SetCompatibilityLevelError
fn from(err: UnhandledError) -> SetCompatibilityLevelError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SetCompatibilityLevelError
impl !RefUnwindSafe for SetCompatibilityLevelError
impl Send for SetCompatibilityLevelError
impl Sync for SetCompatibilityLevelError
impl Unpin for SetCompatibilityLevelError
impl !UnwindSafe for SetCompatibilityLevelError
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