pub enum RuntimeEventType {
Started,
Stopped,
Restarted,
ConfigUpdated,
HealthCheckFailed,
MemoryWarning,
Error,
RequestProcessed,
PerformanceWarning,
}Expand description
运行时事件类型
Variants§
Started
启动
Stopped
停止
Restarted
重启
ConfigUpdated
配置更新
HealthCheckFailed
健康检查失败
MemoryWarning
内存警告
Error
错误
RequestProcessed
请求处理
PerformanceWarning
性能警告
Trait Implementations§
Source§impl Clone for RuntimeEventType
impl Clone for RuntimeEventType
Source§fn clone(&self) -> RuntimeEventType
fn clone(&self) -> RuntimeEventType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RuntimeEventType
impl Debug for RuntimeEventType
Source§impl<'de> Deserialize<'de> for RuntimeEventType
impl<'de> Deserialize<'de> for RuntimeEventType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RuntimeEventType
impl PartialEq for RuntimeEventType
Source§impl Serialize for RuntimeEventType
impl Serialize for RuntimeEventType
impl StructuralPartialEq for RuntimeEventType
Auto Trait Implementations§
impl Freeze for RuntimeEventType
impl RefUnwindSafe for RuntimeEventType
impl Send for RuntimeEventType
impl Sync for RuntimeEventType
impl Unpin for RuntimeEventType
impl UnsafeUnpin for RuntimeEventType
impl UnwindSafe for RuntimeEventType
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