pub enum PretextError {
NoShapingBackend,
Backend(String),
InvalidInput(String),
}Expand description
A recoverable backend or input error.
Variants§
NoShapingBackend
No glyph shaping backend was configured.
Backend(String)
A backend could not create or execute a text service.
InvalidInput(String)
Input is outside the supported contract.
Trait Implementations§
Source§impl Clone for PretextError
impl Clone for PretextError
Source§impl Debug for PretextError
impl Debug for PretextError
Source§impl Display for PretextError
impl Display for PretextError
impl Eq for PretextError
Source§impl Error for PretextError
impl Error for PretextError
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 PretextError
impl PartialEq for PretextError
impl StructuralPartialEq for PretextError
Auto Trait Implementations§
impl Freeze for PretextError
impl RefUnwindSafe for PretextError
impl Send for PretextError
impl Sync for PretextError
impl Unpin for PretextError
impl UnsafeUnpin for PretextError
impl UnwindSafe for PretextError
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