pub enum Error {
Io(Error),
Fmt(Error),
InvalidWindowSize,
CursorPosition,
TooManyArguments(Vec<String>),
UnrecognizedOption(String),
}Expand description
Kibi error type.
Variants§
Io(Error)
Wrapper around std::io::Error
Fmt(Error)
Wrapper around std::fmt::Error
InvalidWindowSize
Error returned when the window size obtained through a system call is invalid.
CursorPosition
Error setting or retrieving the cursor position.
TooManyArguments(Vec<String>)
Too many arguments given to kibi. The attribute corresponds to the total number of command line arguments.
UnrecognizedOption(String)
Unrecognized option given as a command line argument.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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