pub struct SessionRecovery { /* private fields */ }Expand description
会话恢复检测器
Implementations§
Source§impl SessionRecovery
impl SessionRecovery
Sourcepub fn detect_interrupted_sessions(
&self,
) -> Layer2Result<Vec<InterruptedSession>>
pub fn detect_interrupted_sessions( &self, ) -> Layer2Result<Vec<InterruptedSession>>
检测是否有中断的会话
Sourcepub fn render_interrupted(&self) -> String
pub fn render_interrupted(&self) -> String
渲染中断会话列表
Auto Trait Implementations§
impl Freeze for SessionRecovery
impl RefUnwindSafe for SessionRecovery
impl Send for SessionRecovery
impl Sync for SessionRecovery
impl Unpin for SessionRecovery
impl UnsafeUnpin for SessionRecovery
impl UnwindSafe for SessionRecovery
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