pub enum ErrNo {
SUCCESS = 0,
OTHER = 10_000,
STATUS = 10_001,
DECODE = 10_002,
CONNECT = 10_003,
ENCODE = 20_001,
IO = 20_002,
}Expand description
错误码
Variants§
SUCCESS = 0
操作成功
OTHER = 10_000
其他错误
STATUS = 10_001
http status code 相关错误
DECODE = 10_002
解码相关错误
CONNECT = 10_003
连接相关错误
ENCODE = 20_001
编码相关错误
IO = 20_002
IO错误
Trait Implementations§
Source§impl ToString for ErrNo
§Examples
use tencent_qcloud_cos_rs::request::ErrNo;
println!("{:#?}", ErrNo::OTHER);
impl ToString for ErrNo
§Examples
use tencent_qcloud_cos_rs::request::ErrNo;
println!("{:#?}", ErrNo::OTHER);impl StructuralPartialEq for ErrNo
Auto Trait Implementations§
impl Freeze for ErrNo
impl RefUnwindSafe for ErrNo
impl Send for ErrNo
impl Sync for ErrNo
impl Unpin for ErrNo
impl UnwindSafe for ErrNo
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