pub enum StyledTextError {
InvalidRange,
InvalidLinkRange,
Unsupported(&'static str),
}Variants§
Trait Implementations§
Source§impl Debug for StyledTextError
impl Debug for StyledTextError
Source§impl Display for StyledTextError
impl Display for StyledTextError
impl Eq for StyledTextError
Source§impl Error for StyledTextError
impl Error for StyledTextError
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 StyledTextError
impl PartialEq for StyledTextError
impl StructuralPartialEq for StyledTextError
Auto Trait Implementations§
impl Forget for StyledTextError
impl Freeze for StyledTextError
impl Move for StyledTextError
impl RefUnwindSafe for StyledTextError
impl Send for StyledTextError
impl Sync for StyledTextError
impl Unpin for StyledTextError
impl UnsafeUnpin for StyledTextError
impl UnwindSafe for StyledTextError
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