pub enum ApplicationHeartbeatState {
Running,
WaitingForResponse,
Stopped,
}Expand description
Current state of an application heartbeat loop.
Variants§
Running
The loop is waiting for its next scheduled send.
WaitingForResponse
A heartbeat was written and a response is being matched.
Stopped
The loop has stopped because its handle was stopped, its session ended, or policy stopped it.
Trait Implementations§
Source§impl Clone for ApplicationHeartbeatState
impl Clone for ApplicationHeartbeatState
impl Copy for ApplicationHeartbeatState
Source§impl Debug for ApplicationHeartbeatState
impl Debug for ApplicationHeartbeatState
impl Eq for ApplicationHeartbeatState
impl StructuralPartialEq for ApplicationHeartbeatState
Auto Trait Implementations§
impl Forget for ApplicationHeartbeatState
impl Freeze for ApplicationHeartbeatState
impl Move for ApplicationHeartbeatState
impl RefUnwindSafe for ApplicationHeartbeatState
impl Send for ApplicationHeartbeatState
impl Sync for ApplicationHeartbeatState
impl Unpin for ApplicationHeartbeatState
impl UnsafeUnpin for ApplicationHeartbeatState
impl UnwindSafe for ApplicationHeartbeatState
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