#[repr(u8)]pub enum SuspendPolicy {
None = 0,
EventThread = 1,
All = 2,
}Expand description
Suspend policy for events
Variants§
Trait Implementations§
Source§impl Clone for SuspendPolicy
impl Clone for SuspendPolicy
Source§fn clone(&self) -> SuspendPolicy
fn clone(&self) -> SuspendPolicy
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 SuspendPolicy
Source§impl Debug for SuspendPolicy
impl Debug for SuspendPolicy
impl Eq for SuspendPolicy
Source§impl PartialEq for SuspendPolicy
impl PartialEq for SuspendPolicy
impl StructuralPartialEq for SuspendPolicy
Auto Trait Implementations§
impl Freeze for SuspendPolicy
impl RefUnwindSafe for SuspendPolicy
impl Send for SuspendPolicy
impl Sync for SuspendPolicy
impl Unpin for SuspendPolicy
impl UnsafeUnpin for SuspendPolicy
impl UnwindSafe for SuspendPolicy
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