Struct insignia::Error [−][src]
Returns on the failure of Config::new
and Config::exec
.
Fields
error_code: i32
An error code expected to be returned when the program ends. An error code of…
0
means that an expected result occured, but the program must end
now, (like in the case of a --help
flag).
1
means there was an error with the arguments inputted.
2
means there was a file related error.
3
means something that a number wasn’t parsed correctly.
4
means a field specified doesn’t exist.
5
means a field tried to be cleared and set at the same time.
6
means that there were no “free parameters”, aka filenames
7
means that there was an error when trying to edit the tags of a file
error_str: String
String expected to be printed right before the end of the program.
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T