pub enum NCurseswMenuError {
Show 19 variants
BadArgument {
func: String,
},
BadState {
func: String,
},
Connected {
func: String,
},
Current {
func: String,
},
InvalidField {
func: String,
},
NotConnected {
func: String,
},
NotPosted {
func: String,
},
NotSelectable {
func: String,
},
NoMatch {
func: String,
},
NoRoom {
func: String,
},
Ok {
func: String,
},
Posted {
func: String,
},
RequestDenied {
func: String,
},
SystemError {
func: String,
errno: Errno,
},
UnknownCommand {
func: String,
},
UnknownError {
func: String,
errno: i32,
},
IntError {
source: TryFromIntError,
},
NulError {
source: NulError,
},
Infallible {
source: Infallible,
},
}
Expand description
NCursesw menu errors.
Variants§
BadArgument
Routine detected an incorrect or out-of-range argument.
BadState
Connected
Item is connected to a menu.
Current
InvalidField
NotConnected
NotPosted
NotSelectable
NoMatch
NoRoom
Ok
The routine succeeded.
Posted
RequestDenied
SystemError
System error occurred, (see errno)
UnknownCommand
UnknownError
IntError
Fields
§
source: TryFromIntError
NulError
Infallible
Fields
§
source: Infallible
Trait Implementations§
Source§impl Debug for NCurseswMenuError
impl Debug for NCurseswMenuError
Source§impl Display for NCurseswMenuError
impl Display for NCurseswMenuError
Source§impl Error for NCurseswMenuError
impl Error for NCurseswMenuError
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<Infallible> for NCurseswMenuError
impl From<Infallible> for NCurseswMenuError
Source§fn from(source: Infallible) -> NCurseswMenuError
fn from(source: Infallible) -> NCurseswMenuError
Converts to this type from the input type.
Source§impl From<NCurseswMenuError> for NCurseswError
impl From<NCurseswMenuError> for NCurseswError
Source§fn from(source: NCurseswMenuError) -> NCurseswError
fn from(source: NCurseswMenuError) -> NCurseswError
Converts to this type from the input type.
Source§impl From<NCurseswMenuError> for NCurseswWinError
impl From<NCurseswMenuError> for NCurseswWinError
Source§fn from(source: NCurseswMenuError) -> Self
fn from(source: NCurseswMenuError) -> Self
Converts to this type from the input type.
Source§impl From<NulError> for NCurseswMenuError
impl From<NulError> for NCurseswMenuError
Source§fn from(source: NulError) -> NCurseswMenuError
fn from(source: NulError) -> NCurseswMenuError
Converts to this type from the input type.
Source§impl From<TryFromIntError> for NCurseswMenuError
impl From<TryFromIntError> for NCurseswMenuError
Source§fn from(source: TryFromIntError) -> NCurseswMenuError
fn from(source: TryFromIntError) -> NCurseswMenuError
Converts to this type from the input type.
Source§impl PartialEq for NCurseswMenuError
impl PartialEq for NCurseswMenuError
impl Eq for NCurseswMenuError
impl StructuralPartialEq for NCurseswMenuError
Auto Trait Implementations§
impl Freeze for NCurseswMenuError
impl RefUnwindSafe for NCurseswMenuError
impl Send for NCurseswMenuError
impl Sync for NCurseswMenuError
impl Unpin for NCurseswMenuError
impl UnwindSafe for NCurseswMenuError
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