test.TestServerError.kind
Rust
- Python Unavailable
- TypeScript Unavailable
- Rust
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- test
- Declared in
- TestServerError
- Package
- libtmux
- Source
- crates/libtmux/src/test.rs
- kind ( self ) TestServerErrorKind
-
Return the stable category for this failure.
Examples
use libtmux::test::{TestServer, TestServerErrorKind};let missing = tempfile::tempdir()?.path().join("missing-tmux");let error = TestServer::builder().tmux_executable(missing).start().await.expect_err("missing executable is rejected");assert_eq!(error.kind(), TestServerErrorKind::ExecutableNotFound);
0 declared, 0 inherited