pub struct TerminfoError { /* private fields */ }Expand description
Terminfo error type.
This wraps a terminfo::Error to avoid directly exposing the type in the public API, which
required a breaking change every time clearscreen updated its terminfo version.
Trait Implementations§
Source§impl Debug for TerminfoError
impl Debug for TerminfoError
Source§impl Display for TerminfoError
impl Display for TerminfoError
Source§impl Error for TerminfoError
impl Error for TerminfoError
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 From<Error> for TerminfoError
impl From<Error> for TerminfoError
Source§impl From<TerminfoError> for Error
impl From<TerminfoError> for Error
Source§fn from(source: TerminfoError) -> Self
fn from(source: TerminfoError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TerminfoError
impl !RefUnwindSafe for TerminfoError
impl Send for TerminfoError
impl Sync for TerminfoError
impl Unpin for TerminfoError
impl !UnwindSafe for TerminfoError
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