Enum qiniu_upload_token::ParseError
source · #[non_exhaustive]
pub enum ParseError {
InvalidUploadTokenFormat,
Base64DecodeError(DecodeError),
JsonDecodeError(Error),
CredentialGetError(IoError),
CallbackError(AnyError),
}
Expand description
上传凭证解析错误
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.
InvalidUploadTokenFormat
上传凭证格式错误
Base64DecodeError(DecodeError)
上传凭证 Base64 解码错误
JsonDecodeError(Error)
上传凭证 JSON 解析错误
CredentialGetError(IoError)
上传凭证获取认证信息错误
CallbackError(AnyError)
on_policy_generated
回调函数错误
Trait Implementations§
source§impl Debug for ParseError
impl Debug for ParseError
source§impl Display for ParseError
impl Display for ParseError
source§impl Error for ParseError
impl Error for ParseError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()