Enum ncursesw::mouse::NCurseswMouseError
source · [−]pub enum NCurseswMouseError {
LibraryError {
func: String,
rc: Option<i32>,
},
IntError {
source: TryFromIntError,
},
}
Expand description
NCursesw mouse errors.
Variants
LibraryError
IntError
Fields
source: TryFromIntError
Trait Implementations
sourceimpl Debug for NCurseswMouseError
impl Debug for NCurseswMouseError
sourceimpl Display for NCurseswMouseError
impl Display for NCurseswMouseError
sourceimpl Error for NCurseswMouseError
impl Error for NCurseswMouseError
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<NCurseswMouseError> for NCurseswError
impl From<NCurseswMouseError> for NCurseswError
sourcefn from(source: NCurseswMouseError) -> Self
fn from(source: NCurseswMouseError) -> Self
Performs the conversion.
sourceimpl From<TryFromIntError> for NCurseswMouseError
impl From<TryFromIntError> for NCurseswMouseError
sourcefn from(source: TryFromIntError) -> Self
fn from(source: TryFromIntError) -> Self
Performs the conversion.
sourceimpl PartialEq<NCurseswMouseError> for NCurseswMouseError
impl PartialEq<NCurseswMouseError> for NCurseswMouseError
sourcefn eq(&self, other: &NCurseswMouseError) -> bool
fn eq(&self, other: &NCurseswMouseError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NCurseswMouseError) -> bool
fn ne(&self, other: &NCurseswMouseError) -> bool
This method tests for !=
.
impl Eq for NCurseswMouseError
impl StructuralEq for NCurseswMouseError
impl StructuralPartialEq for NCurseswMouseError
Auto Trait Implementations
impl RefUnwindSafe for NCurseswMouseError
impl Send for NCurseswMouseError
impl Sync for NCurseswMouseError
impl Unpin for NCurseswMouseError
impl UnwindSafe for NCurseswMouseError
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