Enum tfc::GenericError [−][src]
Error enum returned by the traits
.
Variants
Platform-specific error.
This is likely to be an integer error code. The Display
implementation will provide a description of the error while the
Debug
implementation only provides a number.
UnsupportedAscii(u8)
Unsupported ASCII character.
This is returned by
AsciiKeyboardContext
when an
unsupported or invalid character is given.
UnsupportedUnicode(char)
Unsupported Unicode character.
This is returned by
UnicodeKeyboardContext
when an
unsupported or invalid character is given.
Unknown error.
This is returned when an underlying function doesn’t return an error
code but still indicates failure in some way. For example, if a function
returns a null pointer when a non-null pointer was expected, this
Unknown
error will be returned.
Trait Implementations
impl<P: Debug + Error> Debug for GenericError<P>
[src]
impl<P: Error> Display for GenericError<P>
[src]
impl<P: Error> Error for GenericError<P>
[src]
Auto Trait Implementations
impl<P> RefUnwindSafe for GenericError<P> where
P: RefUnwindSafe,
P: RefUnwindSafe,
impl<P> Send for GenericError<P> where
P: Send,
P: Send,
impl<P> Sync for GenericError<P> where
P: Sync,
P: Sync,
impl<P> Unpin for GenericError<P> where
P: Unpin,
P: Unpin,
impl<P> UnwindSafe for GenericError<P> where
P: UnwindSafe,
P: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,