Docs.rs
auto-discovery-0.2.0
auto-discovery 0.2.0
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
ciresnave
Dependencies
async-trait ^0.1
normal
backoff ^0.4
normal
base64 ^0.22
normal
bytes ^1.5
normal
chrono ^0.4
normal
flume ^0.11.1
normal
futures ^0.3
normal
governor ^0.10
normal
hex ^0.4
normal
hyper ^1.6
normal
mdns ^3.0
normal
optional
mdns-sd ^0.13.11
normal
optional
metrics ^0.24
normal
optional
metrics-exporter-prometheus ^0.17
normal
optional
native-tls ^0.2
normal
optional
quick-xml ^0.38
normal
optional
rand ^0.9
normal
reqwest ^0.12
normal
optional
ring ^0.17
normal
optional
serde ^1.0
normal
simple-mdns ^0.6
normal
optional
socket2 ^0.6
normal
tempfile ^3.8
normal
optional
thiserror ^2.0
normal
tokio ^1.0
normal
tokio-metrics ^0.4
normal
optional
tokio-stream ^0.1
normal
tokio-util ^0.7
normal
tower ^0.5
normal
tower-http ^0.6
normal
tracing ^0.1
normal
trust-dns-client ^0.23
normal
optional
trust-dns-proto ^0.23
normal
trust-dns-resolver ^0.23
normal
url ^2.5.4
normal
uuid ^1.0
normal
x509-parser ^0.17
normal
optional
criterion ^0.6
dev
mockall ^0.13
dev
proptest ^1.3
dev
rand ^0.9
dev
tempfile ^3.8
dev
test-log ^0.2
dev
tokio-test ^0.4
dev
tracing-subscriber ^0.3
dev
Versions
100%
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
validate_timeout
auto_
discovery
0.2.0
In auto_
discovery::
utils::
validation
auto_discovery
::
utils
::
validation
Function
validate_
timeout
Copy item path
Source
pub fn validate_timeout(timeout:
Duration
) ->
Result
<
()
>
Expand description
Validate that a timeout is reasonable