pub enum DataConnectErrorCode {
InvalidArgument,
AlreadyInitialized,
NotInitialized,
NotSupported,
Unauthorized,
PartialError,
Internal,
Other,
}Expand description
Enumerates the canonical error codes surfaced by the Data Connect module.
Variants§
InvalidArgument
The client supplied an invalid argument (missing connector config, etc.).
AlreadyInitialized
The client attempted to reuse an instance in an incompatible configuration.
NotInitialized
The service has not been initialized yet.
NotSupported
The current platform does not support the requested feature.
The backend rejected the request because authentication was missing/invalid.
PartialError
The backend returned a GraphQL errors payload.
Internal
Any other internal client failure.
Other
Unknown errors reported by the backend or transport layer.
Implementations§
Trait Implementations§
Source§impl Clone for DataConnectErrorCode
impl Clone for DataConnectErrorCode
Source§fn clone(&self) -> DataConnectErrorCode
fn clone(&self) -> DataConnectErrorCode
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 DataConnectErrorCode
impl Debug for DataConnectErrorCode
Source§impl<'de> Deserialize<'de> for DataConnectErrorCode
impl<'de> Deserialize<'de> for DataConnectErrorCode
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 DataConnectErrorCode
impl PartialEq for DataConnectErrorCode
Source§impl Serialize for DataConnectErrorCode
impl Serialize for DataConnectErrorCode
impl Copy for DataConnectErrorCode
impl Eq for DataConnectErrorCode
impl StructuralPartialEq for DataConnectErrorCode
Auto Trait Implementations§
impl Freeze for DataConnectErrorCode
impl RefUnwindSafe for DataConnectErrorCode
impl Send for DataConnectErrorCode
impl Sync for DataConnectErrorCode
impl Unpin for DataConnectErrorCode
impl UnwindSafe for DataConnectErrorCode
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§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.