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