pub struct RuntimeObserver { /* private fields */ }Expand description
不拥有关闭权的运行状态观察入口,不因采集状态触发网络访问。
Implementations§
Source§impl RuntimeObserver
impl RuntimeObserver
Sourcepub fn snapshot(&self) -> Option<RuntimeStatus>
pub fn snapshot(&self) -> Option<RuntimeStatus>
业务作用:同步读取容量、注册和连接证据摘要,不在探针或指标抓取时发起网络查询。 参数说明:无。 返回:owner 尚有状态时给出按当前身份代次裁决的有限摘要;所有资源释放后为空,不展示凭据、URL 或实例 metadata。
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RuntimeObserver
impl !UnwindSafe for RuntimeObserver
impl Freeze for RuntimeObserver
impl Send for RuntimeObserver
impl Sync for RuntimeObserver
impl Unpin for RuntimeObserver
impl UnsafeUnpin for RuntimeObserver
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