pub enum Restart {
Scheduled,
AlreadyScheduled,
}Expand description
How a restart was asked for.
Variants§
Scheduled
Windows counts down to it.
AlreadyScheduled
One was scheduled already (another window’s, the user’s own): the same restart.
Trait Implementations§
impl Copy for Restart
impl Eq for Restart
impl StructuralPartialEq for Restart
Auto Trait Implementations§
impl Forget for Restart
impl Freeze for Restart
impl Move for Restart
impl RefUnwindSafe for Restart
impl Send for Restart
impl Sync for Restart
impl Unpin for Restart
impl UnsafeUnpin for Restart
impl UnwindSafe for Restart
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.