pub struct TestSession { /* private fields */ }Expand description
RAII guard that kills a tmux session on drop.
Ensures test sessions are cleaned up even on panic/assert failure.
Use in tests instead of manual kill_session() calls.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TestSession
impl RefUnwindSafe for TestSession
impl Send for TestSession
impl Sync for TestSession
impl Unpin for TestSession
impl UnsafeUnpin for TestSession
impl UnwindSafe for TestSession
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