# command.CommandResult.refusal_for

- **Module:** command.CommandResult
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/command.rs#L1098
- **Page:** https://libtmux.org/reference/rs/command-commandresult-refusal_for/

```
command.CommandResult.refusal_for(self, operation: &'static str) -> Option<crate::Error>
```
