pub enum KeyboardActionError {
DeleteSelection(DeleteSelectionError),
NudgeSelection(DispatchError),
}Expand description
Error returned when a keyboard intent fails while routing to its runtime action.
Variants§
DeleteSelection(DeleteSelectionError)
NudgeSelection(DispatchError)
Trait Implementations§
Source§impl Debug for KeyboardActionError
impl Debug for KeyboardActionError
Source§impl Display for KeyboardActionError
impl Display for KeyboardActionError
Source§impl Error for KeyboardActionError
impl Error for KeyboardActionError
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 From<DeleteSelectionError> for KeyboardActionError
impl From<DeleteSelectionError> for KeyboardActionError
Source§fn from(source: DeleteSelectionError) -> Self
fn from(source: DeleteSelectionError) -> Self
Converts to this type from the input type.
Source§impl From<DispatchError> for KeyboardActionError
impl From<DispatchError> for KeyboardActionError
Source§fn from(source: DispatchError) -> Self
fn from(source: DispatchError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KeyboardActionError
impl RefUnwindSafe for KeyboardActionError
impl Send for KeyboardActionError
impl Sync for KeyboardActionError
impl Unpin for KeyboardActionError
impl UnsafeUnpin for KeyboardActionError
impl UnwindSafe for KeyboardActionError
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