pub enum TerminalError {
NoStdHandle,
NoScreenBufferInfo,
}Expand description
Enum to represent possible errors that can occur while getting terminal or font size.
Variants§
NoStdHandle
Standard output handle not found
NoScreenBufferInfo
Failed to retrieve console screen buffer information
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TerminalError
impl RefUnwindSafe for TerminalError
impl Send for TerminalError
impl Sync for TerminalError
impl Unpin for TerminalError
impl UnwindSafe for TerminalError
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