pub enum BuilderKind {
Network,
Authentication,
Api,
Validation,
Configuration,
Serialization,
Business,
Timeout,
RateLimit,
ServiceUnavailable,
Internal,
}Expand description
枚举化的构建器目标类型
Variants§
Network
网络错误
Authentication
认证错误
Api
API 错误
Validation
验证错误
Configuration
配置错误
Serialization
序列化错误
Business
业务错误
Timeout
超时错误
RateLimit
限流错误
服务不可用错误
Internal
内部错误
Trait Implementations§
Source§impl Clone for BuilderKind
impl Clone for BuilderKind
Source§fn clone(&self) -> BuilderKind
fn clone(&self) -> BuilderKind
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 BuilderKind
impl Debug for BuilderKind
impl Copy for BuilderKind
Auto Trait Implementations§
impl Freeze for BuilderKind
impl RefUnwindSafe for BuilderKind
impl Send for BuilderKind
impl Sync for BuilderKind
impl Unpin for BuilderKind
impl UnsafeUnpin for BuilderKind
impl UnwindSafe for BuilderKind
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