#[non_exhaustive]pub enum TeaErrorCode {
ObjectUnknown,
NotImplemented,
NoAcceptableFormat,
SignatureNotFound,
InvalidRequest,
InvalidPageToken,
Other(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ObjectUnknown
NotImplemented
NoAcceptableFormat
SignatureNotFound
InvalidRequest
InvalidPageToken
Other(String)
A value this client does not recognize.
Implementations§
Trait Implementations§
Source§impl Clone for TeaErrorCode
impl Clone for TeaErrorCode
Source§impl Debug for TeaErrorCode
impl Debug for TeaErrorCode
Source§impl<'de> Deserialize<'de> for TeaErrorCode
impl<'de> Deserialize<'de> for TeaErrorCode
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for TeaErrorCode
impl Display for TeaErrorCode
impl Eq for TeaErrorCode
Source§impl Hash for TeaErrorCode
impl Hash for TeaErrorCode
Source§impl PartialEq for TeaErrorCode
impl PartialEq for TeaErrorCode
Source§impl Serialize for TeaErrorCode
impl Serialize for TeaErrorCode
impl StructuralPartialEq for TeaErrorCode
Auto Trait Implementations§
impl Forget for TeaErrorCode
impl Freeze for TeaErrorCode
impl RefUnwindSafe for TeaErrorCode
impl Send for TeaErrorCode
impl Sync for TeaErrorCode
impl Unpin for TeaErrorCode
impl UnsafeUnpin for TeaErrorCode
impl UnwindSafe for TeaErrorCode
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