pub struct SagaHttpMessageAuthError { /* private fields */ }Expand description
业务作用:携带可观测但不含凭据的内部认证失败分类,同时保持统一对外错误文本。
Implementations§
Source§impl SagaHttpMessageAuthError
impl SagaHttpMessageAuthError
Sourcepub fn failure(self) -> SagaHttpMessageAuthFailure
pub fn failure(self) -> SagaHttpMessageAuthFailure
业务作用:读取安全的内部失败分类,驱动日志、指标和容量告警,不用于改变外部错误正文。
参数说明: 无。
返回:配置、认证、重放或容量耗尽中的稳定分类。
Trait Implementations§
Source§impl Clone for SagaHttpMessageAuthError
impl Clone for SagaHttpMessageAuthError
impl Copy for SagaHttpMessageAuthError
Source§impl Debug for SagaHttpMessageAuthError
impl Debug for SagaHttpMessageAuthError
Source§impl Display for SagaHttpMessageAuthError
impl Display for SagaHttpMessageAuthError
impl Eq for SagaHttpMessageAuthError
Source§impl Error for SagaHttpMessageAuthError
impl Error for SagaHttpMessageAuthError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Source§impl PartialEq for SagaHttpMessageAuthError
impl PartialEq for SagaHttpMessageAuthError
impl StructuralPartialEq for SagaHttpMessageAuthError
Auto Trait Implementations§
impl Forget for SagaHttpMessageAuthError
impl Freeze for SagaHttpMessageAuthError
impl Move for SagaHttpMessageAuthError
impl RefUnwindSafe for SagaHttpMessageAuthError
impl Send for SagaHttpMessageAuthError
impl Sync for SagaHttpMessageAuthError
impl Unpin for SagaHttpMessageAuthError
impl UnsafeUnpin for SagaHttpMessageAuthError
impl UnwindSafe for SagaHttpMessageAuthError
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