Enum mki::InhibitEvent [−][src]
pub enum InhibitEvent {
Yes,
Maybe(Arc<dyn Fn() -> InhibitEvent + Send + Sync>),
No,
}
Expand description
Works only on windows. Whether to propagate the event for applications down the callstack.
Variants
Maybe(Arc<dyn Fn() -> InhibitEvent + Send + Sync>)
Tuple Fields of Maybe
0: Arc<dyn Fn() -> InhibitEvent + Send + Sync>
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for InhibitEvent
impl Send for InhibitEvent
impl Sync for InhibitEvent
impl Unpin for InhibitEvent
impl !UnwindSafe for InhibitEvent
Blanket Implementations
Mutably borrows from an owned value. Read more