pub enum OpenApiAdapterError {
SpecUrlDenied,
ParamsMustBeObject,
}Variants§
Trait Implementations§
Source§impl Debug for OpenApiAdapterError
impl Debug for OpenApiAdapterError
Source§impl Display for OpenApiAdapterError
impl Display for OpenApiAdapterError
Source§impl Error for OpenApiAdapterError
impl Error for OpenApiAdapterError
1.30.0 · 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 PartialEq for OpenApiAdapterError
impl PartialEq for OpenApiAdapterError
Source§fn eq(&self, other: &OpenApiAdapterError) -> bool
fn eq(&self, other: &OpenApiAdapterError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for OpenApiAdapterError
impl StructuralPartialEq for OpenApiAdapterError
Auto Trait Implementations§
impl Freeze for OpenApiAdapterError
impl RefUnwindSafe for OpenApiAdapterError
impl Send for OpenApiAdapterError
impl Sync for OpenApiAdapterError
impl Unpin for OpenApiAdapterError
impl UnsafeUnpin for OpenApiAdapterError
impl UnwindSafe for OpenApiAdapterError
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.