Docs.rs
snowflake-ng-0.1.5
snowflake-ng 0.1.5
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
Krysztal112233
Dependencies
chrono ^0.4
normal
optional
futures ^0.3
normal
futures-timer ^3
normal
rand ^0.8
normal
serde ^1.0
normal
optional
time ^0.3
normal
optional
parking_lot ^0.12
dev
tokio ^1
dev
Versions
62.5%
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
snowflake_
ng
0.1.5
Time
Provider
Required Methods
timestamp
Implementors
In crate snowflake_
ng
snowflake_ng
Trait
TimeProvider
Copy item path
Source
pub trait TimeProvider { // Required method fn
timestamp
(&self) ->
u64
; }
Required Methods
§
Source
fn
timestamp
(&self) ->
u64
Timestamp fetcher.
Implementors
§
Source
§
impl
TimeProvider
for
ChronoProvider
Source
§
impl
TimeProvider
for
StdProvider
Source
§
impl
TimeProvider
for
TimeCrateProvider