#[non_exhaustive]pub enum TextInputMethodError {
Unavailable,
Unsupported,
StaleConnection,
StateChanged,
ReadOnly,
ReentrantEdit,
Rejected,
Intercepted,
InvalidRange,
}Expand description
Failure of a platform input operation. A rejected commit retains its accepted preview so that the platform can retry or explicitly cancel it.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for TextInputMethodError
impl Clone for TextInputMethodError
impl Copy for TextInputMethodError
Source§impl Debug for TextInputMethodError
impl Debug for TextInputMethodError
Source§impl Display for TextInputMethodError
impl Display for TextInputMethodError
impl Eq for TextInputMethodError
Source§impl Error for TextInputMethodError
impl Error for TextInputMethodError
1.30.0 · 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 TextInputMethodError
impl PartialEq for TextInputMethodError
impl StructuralPartialEq for TextInputMethodError
Auto Trait Implementations§
impl Freeze for TextInputMethodError
impl RefUnwindSafe for TextInputMethodError
impl Send for TextInputMethodError
impl Sync for TextInputMethodError
impl Unpin for TextInputMethodError
impl UnsafeUnpin for TextInputMethodError
impl UnwindSafe for TextInputMethodError
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more