Docs.rs
rebuilderd-common-0.26.0
rebuilderd-common 0.26.0
Docs.rs crate page
GPL-3.0-or-later
Links
Repository
crates.io
Source
Owners
kpcyrd
Dependencies
anyhow ^1.0.58
normal
async-trait ^0.1.88
normal
chrono ^0.4.19
normal
clap ^4.5.21
normal
colored ^3
normal
diesel ^2
normal
optional
dirs-next ^2.0.0
normal
log ^0.4.17
normal
reqwest ^0.13
normal
serde ^1.0.137
normal
tokio ^1.44.2
normal
toml ^1
normal
url ^2.2.2
normal
zstd ^0.13.3
normal
tokio-test ^0.4.4
dev
Versions
1%
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
load_or_create
rebuilderd_
common
0.26.0
In rebuilderd_
common::
utils
rebuilderd_common
::
utils
Function
load_
or_
create
Copy item path
Source
pub fn load_or_create<F:
Fn
() ->
Result
<
Vec
<
u8
>>>( path: &
Path
, func: F, ) ->
Result
<
Vec
<
u8
>>