pub enum ClientError<T> {
SIMPLE(SimpleError),
SERVER(ServerError<T>),
HTTP(HTTPError),
ENCODING(EncodingError),
NETWORK(String),
}
Variants§
Implementations§
Trait Implementations§
Source§impl<T: Debug> Debug for ClientError<T>
impl<T: Debug> Debug for ClientError<T>
Source§impl<T> From<EncodingError> for ClientError<T>
impl<T> From<EncodingError> for ClientError<T>
Source§fn from(value: EncodingError) -> Self
fn from(value: EncodingError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for ClientError<T>where
T: Freeze,
impl<T> RefUnwindSafe for ClientError<T>where
T: RefUnwindSafe,
impl<T> Send for ClientError<T>where
T: Send,
impl<T> Sync for ClientError<T>where
T: Sync,
impl<T> Unpin for ClientError<T>where
T: Unpin,
impl<T> UnwindSafe for ClientError<T>where
T: UnwindSafe,
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