Trait dhcp_client_core::deps::Instant
source · pub trait Instant: Sized + Ord + Copy + Clone + Debug + Send + Sync {
// Required methods
fn add(&self, duration: Duration) -> Self;
fn average(&self, other: Self) -> Self;
}
Expand description
A type representing an instant in time.
Required Methods§
Object Safety§
This trait is not object safe.