pub enum TkaSyncInternalErrorKind {
Url,
SerDe,
Http,
Utf8,
TooLarge,
}Expand description
The internal failure kinds a TKA-sync request can surface (kept coarse for the public surface).
Variants§
Url
Failed to build/parse a URL for the request.
SerDe
Failed to serialize the request or deserialize the response body.
Http
An unsuccessful (non-2xx) HTTP request, or an HTTP/transport error not classed as transient.
Utf8
The response body was not valid UTF-8.
TooLarge
The response body exceeded MAX_TKA_SYNC_RESPONSE.
Trait Implementations§
Source§impl Clone for TkaSyncInternalErrorKind
impl Clone for TkaSyncInternalErrorKind
Source§fn clone(&self) -> TkaSyncInternalErrorKind
fn clone(&self) -> TkaSyncInternalErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TkaSyncInternalErrorKind
Source§impl Debug for TkaSyncInternalErrorKind
impl Debug for TkaSyncInternalErrorKind
Source§impl Display for TkaSyncInternalErrorKind
impl Display for TkaSyncInternalErrorKind
impl Eq for TkaSyncInternalErrorKind
Source§impl PartialEq for TkaSyncInternalErrorKind
impl PartialEq for TkaSyncInternalErrorKind
Source§fn eq(&self, other: &TkaSyncInternalErrorKind) -> bool
fn eq(&self, other: &TkaSyncInternalErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TkaSyncInternalErrorKind
Auto Trait Implementations§
impl Freeze for TkaSyncInternalErrorKind
impl RefUnwindSafe for TkaSyncInternalErrorKind
impl Send for TkaSyncInternalErrorKind
impl Sync for TkaSyncInternalErrorKind
impl Unpin for TkaSyncInternalErrorKind
impl UnsafeUnpin for TkaSyncInternalErrorKind
impl UnwindSafe for TkaSyncInternalErrorKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.