pub struct BrokerAuthRouteCache { /* private fields */ }Expand description
C++ FTAuthImpl 的 broker-auth 成功阶段缓存。
这是一个单槽缓存,不是 per-domain map:C++ 只保存
last_request_original_domain_ / last_success_stage_ /
last_success_retry_ip_ 三个字段。相同 original domain 的后续请求会直接
从上次成功阶段开始;不同 domain 仍按 init 路径走。
Trait Implementations§
Source§impl Clone for BrokerAuthRouteCache
impl Clone for BrokerAuthRouteCache
Source§fn clone(&self) -> BrokerAuthRouteCache
fn clone(&self) -> BrokerAuthRouteCache
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 BrokerAuthRouteCache
impl Debug for BrokerAuthRouteCache
Source§impl Default for BrokerAuthRouteCache
impl Default for BrokerAuthRouteCache
Source§fn default() -> BrokerAuthRouteCache
fn default() -> BrokerAuthRouteCache
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BrokerAuthRouteCache
impl RefUnwindSafe for BrokerAuthRouteCache
impl Send for BrokerAuthRouteCache
impl Sync for BrokerAuthRouteCache
impl Unpin for BrokerAuthRouteCache
impl UnsafeUnpin for BrokerAuthRouteCache
impl UnwindSafe for BrokerAuthRouteCache
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