Docs.rs
dead-man-switch-0.9.0
dead-man-switch 0.9.0
Docs.rs crate page
AGPL-3.0-only
Links
crates.io
Source
Owners
storopoli
Dependencies
chrono ^0.4.42
normal
directories-next ^2.0.0
normal
lettre ^0.11.18
normal
mime_guess ^2.0.5
normal
serde ^1.0.228
normal
thiserror ^2.0.18
normal
toml ^0.8.19
normal
tracing ^0.1.44
normal
uuid ^1.19.0
normal
zeroize ^1.8.2
normal
Versions
91.76%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
file_path
dead_
man_
switch
0.9.0
file_
path
Sections
Errors
In dead_
man_
switch::
timer
dead_man_switch
::
timer
Function
file_
path
Copy item path
Source
pub fn file_path() ->
Result
<
PathBuf
,
TimerError
>
Expand description
Get the persisted state file path.
ยง
Errors
Fails if the home directory cannot be found