pub enum RecoveryAction {
Retry(RetryConfig),
UseFallbackMapping,
ClampCoordinates,
UseDefaultLayout,
Skip,
ResetState,
RequestNewSession,
IncreaseQueueSize,
Fail,
}Expand description
Recovery action to take after error
Variants§
Retry(RetryConfig)
Retry the operation
UseFallbackMapping
Use fallback scancode mapping
ClampCoordinates
Clamp coordinates to monitor bounds
UseDefaultLayout
Switch to default keyboard layout
Skip
Skip this event
ResetState
Reset input state
RequestNewSession
Request new portal session
IncreaseQueueSize
Increase event queue size
Fail
Fail and propagate error
Trait Implementations§
Source§impl Clone for RecoveryAction
impl Clone for RecoveryAction
Source§fn clone(&self) -> RecoveryAction
fn clone(&self) -> RecoveryAction
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RecoveryAction
impl Debug for RecoveryAction
Source§impl PartialEq for RecoveryAction
impl PartialEq for RecoveryAction
impl Eq for RecoveryAction
impl StructuralPartialEq for RecoveryAction
Auto Trait Implementations§
impl Freeze for RecoveryAction
impl RefUnwindSafe for RecoveryAction
impl Send for RecoveryAction
impl Sync for RecoveryAction
impl Unpin for RecoveryAction
impl UnwindSafe for RecoveryAction
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)