Struct tk::error::InterpError
source · pub struct InterpError {
pub obj: Obj,
pub options: Obj,
}
Expand description
Errors returned by Tcl interpreter.
Fields§
§obj: Obj
The returned value of en error.
options: Obj
The returned options of en error.
Implementations§
Trait Implementations§
source§impl Debug for InterpError
impl Debug for InterpError
source§impl Display for InterpError
impl Display for InterpError
source§impl Error for InterpError
impl Error for InterpError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<InterpError> for TkError
impl From<InterpError> for TkError
source§fn from(e: InterpError) -> Self
fn from(e: InterpError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for InterpError
impl !Send for InterpError
impl !Sync for InterpError
impl Unpin for InterpError
impl UnwindSafe for InterpError
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