pub struct TerminalRing { /* private fields */ }Expand description
Bounded terminal-exit history for one supervised module.
This belongs to the module rather than an individual child so a replacement process retains the exits that caused it to exist.
Implementations§
Source§impl TerminalRing
impl TerminalRing
pub fn new(config: TerminalRingConfig, daemon_started_at_ms: u64) -> Self
pub fn push(&mut self, entry: TerminalRecord)
pub fn snapshot(&self) -> TerminalHistorySnapshot
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TerminalRing
impl RefUnwindSafe for TerminalRing
impl Send for TerminalRing
impl Sync for TerminalRing
impl Unpin for TerminalRing
impl UnsafeUnpin for TerminalRing
impl UnwindSafe for TerminalRing
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