pub enum ApiErrorKind {
Client,
Server,
}Expand description
Kind of API error.
Variants§
Client
The error is considered to be on the client side.
Server
The error is considered to be on the server side.
Trait Implementations§
Source§impl Clone for ApiErrorKind
impl Clone for ApiErrorKind
Source§fn clone(&self) -> ApiErrorKind
fn clone(&self) -> ApiErrorKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ApiErrorKind
impl Debug for ApiErrorKind
Source§impl<'de> Deserialize<'de> for ApiErrorKind
impl<'de> Deserialize<'de> for ApiErrorKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ApiErrorKind
impl PartialEq for ApiErrorKind
Source§impl Serialize for ApiErrorKind
impl Serialize for ApiErrorKind
impl Copy for ApiErrorKind
impl Eq for ApiErrorKind
impl StructuralPartialEq for ApiErrorKind
Auto Trait Implementations§
impl Freeze for ApiErrorKind
impl RefUnwindSafe for ApiErrorKind
impl Send for ApiErrorKind
impl Sync for ApiErrorKind
impl Unpin for ApiErrorKind
impl UnwindSafe for ApiErrorKind
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