pub struct TimerFsmSettings {
pub enabled: bool,
pub timeout: Duration,
pub renew: bool,
pub cancel_on_state_exit: bool,
}Fields§
§enabled: bool§timeout: Duration§renew: bool§cancel_on_state_exit: boolImplementations§
Source§impl TimerFsmSettings
impl TimerFsmSettings
pub fn to_timer_settings(&self) -> TimerSettings
Trait Implementations§
Source§impl Clone for TimerFsmSettings
impl Clone for TimerFsmSettings
Source§fn clone(&self) -> TimerFsmSettings
fn clone(&self) -> TimerFsmSettings
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 moreSource§impl Debug for TimerFsmSettings
impl Debug for TimerFsmSettings
Source§impl Default for TimerFsmSettings
impl Default for TimerFsmSettings
impl Copy for TimerFsmSettings
Auto Trait Implementations§
impl Freeze for TimerFsmSettings
impl RefUnwindSafe for TimerFsmSettings
impl Send for TimerFsmSettings
impl Sync for TimerFsmSettings
impl Unpin for TimerFsmSettings
impl UnsafeUnpin for TimerFsmSettings
impl UnwindSafe for TimerFsmSettings
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