pub enum RegistrationState {
Planned,
Registering,
OutcomeUnknown,
PendingHealth,
Active,
Suspended,
Withdrawing,
Residual,
Removed,
}Expand description
单个注册目标的发布、健康确认与注销状态。
Variants§
Planned
计划已冻结,尚未写入后端。
Registering
正在提交注册写入。
OutcomeUnknown
远端写入结果不明,需要协调后才能继续发布。
PendingHealth
已提交注册,尚未获得有效健康证据。
Active
已获得健康证据,仍需按 valid_until 判断时效。
Suspended
本地资格或后端证据不再允许继续接流。
Withdrawing
已停止发布,正在注销远端实例。
Residual
注销未能确认完成,可能存在远端残留。
Removed
已确认目标注销完成。
Trait Implementations§
Source§impl Clone for RegistrationState
impl Clone for RegistrationState
impl Copy for RegistrationState
Source§impl Debug for RegistrationState
impl Debug for RegistrationState
impl Eq for RegistrationState
Source§impl PartialEq for RegistrationState
impl PartialEq for RegistrationState
impl StructuralPartialEq for RegistrationState
Auto Trait Implementations§
impl Forget for RegistrationState
impl Freeze for RegistrationState
impl Move for RegistrationState
impl RefUnwindSafe for RegistrationState
impl Send for RegistrationState
impl Sync for RegistrationState
impl Unpin for RegistrationState
impl UnsafeUnpin for RegistrationState
impl UnwindSafe for RegistrationState
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