Docs.rs
rs-blocks-1.0.0
rs-blocks 1.0.0
Permalink
Docs.rs crate page
MIT
Links
Homepage
crates.io
Source
Owners
lewisbelcher
Dependencies
anyhow ^1.0
normal
chrono ^0.4
normal
clap ^2.33
normal
crossbeam-channel ^0.4
normal
dirs ^2.0
normal
env_logger ^0.9
normal
lazy_static ^1.3
normal
log ^0.4
normal
regex ^1.0
normal
rs-blocks-derive ^0.1.0
normal
serde ^1.0
normal
serde_json ^1.0
normal
signal-hook ^0.1
normal
toml ^0.5
normal
criterion ^0.3
dev
Versions
37.25%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
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
Module utils
rs_
blocks
1.0.0
Module utils
Module Items
Structs
Functions
In crate rs_
blocks
rs_blocks
Module
utils
Copy item path
Source
Structs
§
Monitor
A monitoring abstraction which will periodically call
reader
when iterated.
Functions
§
file_
to_
f32
Parse a string as a float32.
monitor_
command
Monitor a given command. When iterated it is periodically executed and its stdout is returned.
monitor_
file
Monitor a file at a given path. When iterated it’s contents are periodically read. NB the file should already have been verified to exist at this point, so we should safe to expect that it still does.
str_
to_
f32
Parse a string as a float32.
wait_
for_
signal
Wait for a signal to occur with a given timeout. Sends a message through the returned receiver when the signal/timeout occurs.