pub struct TimerFdSpecification {
pub initial: Duration,
pub interval: Duration,
}Expand description
Spécification de timerfd : première expiration puis intervalle périodique.
Fields§
§initial: DurationPremière expiration.
interval: DurationIntervalle périodique ; Duration::ZERO = one-shot.
Trait Implementations§
Source§impl Clone for TimerFdSpecification
impl Clone for TimerFdSpecification
Source§fn clone(&self) -> TimerFdSpecification
fn clone(&self) -> TimerFdSpecification
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TimerFdSpecification
Source§impl Debug for TimerFdSpecification
impl Debug for TimerFdSpecification
impl Eq for TimerFdSpecification
Source§impl Hash for TimerFdSpecification
impl Hash for TimerFdSpecification
Source§impl PartialEq for TimerFdSpecification
impl PartialEq for TimerFdSpecification
impl StructuralPartialEq for TimerFdSpecification
Auto Trait Implementations§
impl Freeze for TimerFdSpecification
impl RefUnwindSafe for TimerFdSpecification
impl Send for TimerFdSpecification
impl Sync for TimerFdSpecification
impl Unpin for TimerFdSpecification
impl UnsafeUnpin for TimerFdSpecification
impl UnwindSafe for TimerFdSpecification
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more