pub enum GestureError {
InvalidProfile,
Disabled,
InvalidTime,
TimeWentBackwards,
Input(InputError),
}Expand description
Separate recognition errors keep the existing exhaustive InputError intact.
Variants§
InvalidProfile
Disabled
InvalidTime
Supplied seconds must be finite and nonnegative.
TimeWentBackwards
Earlier than the last successfully accepted timed event on this surface.
Input(InputError)
Trait Implementations§
Source§impl Clone for GestureError
impl Clone for GestureError
Source§fn clone(&self) -> GestureError
fn clone(&self) -> GestureError
Returns a duplicate of the value. Read more
1.0.0 · 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 GestureError
impl Debug for GestureError
Source§impl Display for GestureError
impl Display for GestureError
Source§impl Error for GestureError
impl Error for GestureError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for GestureError
impl PartialEq for GestureError
impl Copy for GestureError
impl Eq for GestureError
impl StructuralPartialEq for GestureError
Auto Trait Implementations§
impl Freeze for GestureError
impl RefUnwindSafe for GestureError
impl Send for GestureError
impl Sync for GestureError
impl Unpin for GestureError
impl UnwindSafe for GestureError
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