Enum ncursesw::form::NCurseswFormError
source · [−]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
Fields
func: String
Routine detected an incorrect or out-of-range argument.
BadState
Fields
func: String
Connected
Fields
func: String
Field is connected to a form.
Current
Fields
func: String
InvalidField
Fields
func: String
NotConnected
Fields
func: String
NotPosted
Fields
func: String
NotSelectable
Fields
func: String
NoMatch
Fields
func: String
NoRoom
Fields
func: String
Ok
Fields
func: String
The routine succeeded.
Posted
Fields
func: String
RequestDenied
Fields
func: String
SystemError
System error occurred, (see errno)
UnknownCommand
Fields
func: String
UnknownError
IntError
Fields
source: TryFromIntError
NulError
Fields
source: NulError
Infallible
Fields
source: Infallible
Trait Implementations
sourceimpl Debug for NCurseswFormError
impl Debug for NCurseswFormError
sourceimpl Display for NCurseswFormError
impl Display for NCurseswFormError
sourceimpl Error for NCurseswFormError
impl Error for NCurseswFormError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<Infallible> for NCurseswFormError
impl From<Infallible> for NCurseswFormError
sourcefn from(source: Infallible) -> Self
fn from(source: Infallible) -> Self
Performs the conversion.
sourceimpl From<NCurseswFormError> for NCurseswError
impl From<NCurseswFormError> for NCurseswError
sourcefn from(source: NCurseswFormError) -> Self
fn from(source: NCurseswFormError) -> Self
Performs the conversion.
sourceimpl From<NulError> for NCurseswFormError
impl From<NulError> for NCurseswFormError
sourceimpl From<TryFromIntError> for NCurseswFormError
impl From<TryFromIntError> for NCurseswFormError
sourcefn from(source: TryFromIntError) -> Self
fn from(source: TryFromIntError) -> Self
Performs the conversion.
sourceimpl PartialEq<NCurseswFormError> for NCurseswFormError
impl PartialEq<NCurseswFormError> for NCurseswFormError
sourcefn eq(&self, other: &NCurseswFormError) -> bool
fn eq(&self, other: &NCurseswFormError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NCurseswFormError) -> bool
fn ne(&self, other: &NCurseswFormError) -> bool
This method tests for !=
.
impl Eq for NCurseswFormError
impl StructuralEq for NCurseswFormError
impl StructuralPartialEq for NCurseswFormError
Auto Trait Implementations
impl RefUnwindSafe for NCurseswFormError
impl Send for NCurseswFormError
impl Sync for NCurseswFormError
impl Unpin for NCurseswFormError
impl UnwindSafe for NCurseswFormError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more