Added docs
This commit is contained in:
parent
cc845c61d3
commit
0124f985c3
@ -41,7 +41,9 @@ pub struct Informant {
|
|||||||
skipped: AtomicUsize,
|
skipped: AtomicUsize,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Something that can be converted to milliseconds.
|
||||||
pub trait MillisecondDuration {
|
pub trait MillisecondDuration {
|
||||||
|
/// Get the value in milliseconds.
|
||||||
fn as_milliseconds(&self) -> u64;
|
fn as_milliseconds(&self) -> u64;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user