pub enum TkError {
Show 29 variants
TagRangesNotInPair(TagRangesNotInPair),
TkAcceptableSizeParseError(TkAcceptableSizeParseError),
TkCanvasItemTypeParseError(TkCanvasItemTypeParseError),
TkDumpParseError(TkDumpParseError),
TkGeometryParseError(TkGeometryParseError),
TkIndexParseError(TkIndexParseError),
TkRequesterParseError(TkRequesterParseError),
TkResizableParseError(TkResizableParseError),
TkScalePartParseError(TkScalePartParseError),
TkScrollbarElementParseError(TkScrollbarElementParseError),
TkSpinboxElementParseError(TkSpinboxElementParseError),
TkScreenNameParseError(TkScreenNameParseError),
TkTextMarkGravityParseError(TkTextMarkGravityParseError),
TtkStateParseError(TtkStateParseError),
UnexpectedPanedwindowIdentifyResult(UnexpectedPanedwindowIdentifyResult),
UnexpectedScrollbarElementActivatedError(UnexpectedScrollbarElementActivatedError),
WidgetNotFound(WidgetNotFound),
DeError(DeError),
TclInitError(TclInitError),
NullInterp(NullInterp),
MismatchedObjType(MismatchedObjType),
MoveBorrowedValue(MoveBorrowedValue),
MoveSharedObj(MoveSharedObj),
NullDataPtr(NullDataPtr),
NotSeq(NotSeq),
NotList(NotList),
NotDict(NotDict),
MutateSharedDict(MutateSharedDict),
InterpError(InterpError),
}
Expand description
The crate error type for users who do not want to use checked exceptions( #[cex]
).
Variants§
TagRangesNotInPair(TagRangesNotInPair)
TkAcceptableSizeParseError(TkAcceptableSizeParseError)
TkCanvasItemTypeParseError(TkCanvasItemTypeParseError)
TkDumpParseError(TkDumpParseError)
TkGeometryParseError(TkGeometryParseError)
TkIndexParseError(TkIndexParseError)
TkRequesterParseError(TkRequesterParseError)
TkResizableParseError(TkResizableParseError)
TkScalePartParseError(TkScalePartParseError)
TkScrollbarElementParseError(TkScrollbarElementParseError)
TkSpinboxElementParseError(TkSpinboxElementParseError)
TkScreenNameParseError(TkScreenNameParseError)
TkTextMarkGravityParseError(TkTextMarkGravityParseError)
TtkStateParseError(TtkStateParseError)
UnexpectedPanedwindowIdentifyResult(UnexpectedPanedwindowIdentifyResult)
UnexpectedScrollbarElementActivatedError(UnexpectedScrollbarElementActivatedError)
WidgetNotFound(WidgetNotFound)
DeError(DeError)
TclInitError(TclInitError)
NullInterp(NullInterp)
MismatchedObjType(MismatchedObjType)
MoveBorrowedValue(MoveBorrowedValue)
NullDataPtr(NullDataPtr)
NotSeq(NotSeq)
NotList(NotList)
NotDict(NotDict)
InterpError(InterpError)
Trait Implementations§
source§impl Error for TkError
impl Error for TkError
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.
source§impl From<MismatchedObjType> for TkError
impl From<MismatchedObjType> for TkError
source§fn from(e: MismatchedObjType) -> Self
fn from(e: MismatchedObjType) -> Self
Converts to this type from the input type.
source§impl From<MoveBorrowedValue> for TkError
impl From<MoveBorrowedValue> for TkError
source§fn from(e: MoveBorrowedValue) -> Self
fn from(e: MoveBorrowedValue) -> Self
Converts to this type from the input type.
source§fn from(e: MoveSharedObj) -> Self
fn from(e: MoveSharedObj) -> Self
Converts to this type from the input type.
source§fn from(e: MutateSharedDict) -> Self
fn from(e: MutateSharedDict) -> Self
Converts to this type from the input type.
source§impl From<NullDataPtr> for TkError
impl From<NullDataPtr> for TkError
source§fn from(e: NullDataPtr) -> Self
fn from(e: NullDataPtr) -> Self
Converts to this type from the input type.
source§impl From<NullInterp> for TkError
impl From<NullInterp> for TkError
source§fn from(e: NullInterp) -> Self
fn from(e: NullInterp) -> Self
Converts to this type from the input type.
source§impl From<TagRangesNotInPair> for TkError
impl From<TagRangesNotInPair> for TkError
source§fn from(e: TagRangesNotInPair) -> Self
fn from(e: TagRangesNotInPair) -> Self
Converts to this type from the input type.
source§impl From<TclInitError> for TkError
impl From<TclInitError> for TkError
source§fn from(e: TclInitError) -> Self
fn from(e: TclInitError) -> Self
Converts to this type from the input type.
source§impl From<TkAcceptableSizeParseError> for TkError
impl From<TkAcceptableSizeParseError> for TkError
source§fn from(e: TkAcceptableSizeParseError) -> Self
fn from(e: TkAcceptableSizeParseError) -> Self
Converts to this type from the input type.
source§impl From<TkCanvasItemTypeParseError> for TkError
impl From<TkCanvasItemTypeParseError> for TkError
source§fn from(e: TkCanvasItemTypeParseError) -> Self
fn from(e: TkCanvasItemTypeParseError) -> Self
Converts to this type from the input type.
source§impl From<TkDumpParseError> for TkError
impl From<TkDumpParseError> for TkError
source§fn from(e: TkDumpParseError) -> Self
fn from(e: TkDumpParseError) -> Self
Converts to this type from the input type.
source§impl From<TkGeometryParseError> for TkError
impl From<TkGeometryParseError> for TkError
source§fn from(e: TkGeometryParseError) -> Self
fn from(e: TkGeometryParseError) -> Self
Converts to this type from the input type.
source§impl From<TkIndexParseError> for TkError
impl From<TkIndexParseError> for TkError
source§fn from(e: TkIndexParseError) -> Self
fn from(e: TkIndexParseError) -> Self
Converts to this type from the input type.
source§impl From<TkRequesterParseError> for TkError
impl From<TkRequesterParseError> for TkError
source§fn from(e: TkRequesterParseError) -> Self
fn from(e: TkRequesterParseError) -> Self
Converts to this type from the input type.
source§impl From<TkResizableParseError> for TkError
impl From<TkResizableParseError> for TkError
source§fn from(e: TkResizableParseError) -> Self
fn from(e: TkResizableParseError) -> Self
Converts to this type from the input type.
source§impl From<TkScalePartParseError> for TkError
impl From<TkScalePartParseError> for TkError
source§fn from(e: TkScalePartParseError) -> Self
fn from(e: TkScalePartParseError) -> Self
Converts to this type from the input type.
source§impl From<TkScreenNameParseError> for TkError
impl From<TkScreenNameParseError> for TkError
source§fn from(e: TkScreenNameParseError) -> Self
fn from(e: TkScreenNameParseError) -> Self
Converts to this type from the input type.
source§impl From<TkScrollbarElementParseError> for TkError
impl From<TkScrollbarElementParseError> for TkError
source§fn from(e: TkScrollbarElementParseError) -> Self
fn from(e: TkScrollbarElementParseError) -> Self
Converts to this type from the input type.
source§impl From<TkSpinboxElementParseError> for TkError
impl From<TkSpinboxElementParseError> for TkError
source§fn from(e: TkSpinboxElementParseError) -> Self
fn from(e: TkSpinboxElementParseError) -> Self
Converts to this type from the input type.
source§impl From<TkTextMarkGravityParseError> for TkError
impl From<TkTextMarkGravityParseError> for TkError
source§fn from(e: TkTextMarkGravityParseError) -> Self
fn from(e: TkTextMarkGravityParseError) -> Self
Converts to this type from the input type.
source§impl From<TtkStateParseError> for TkError
impl From<TtkStateParseError> for TkError
source§fn from(e: TtkStateParseError) -> Self
fn from(e: TtkStateParseError) -> Self
Converts to this type from the input type.
source§impl From<UnexpectedPanedwindowIdentifyResult> for TkError
impl From<UnexpectedPanedwindowIdentifyResult> for TkError
source§fn from(e: UnexpectedPanedwindowIdentifyResult) -> Self
fn from(e: UnexpectedPanedwindowIdentifyResult) -> Self
Converts to this type from the input type.
source§impl From<UnexpectedScrollbarElementActivatedError> for TkError
impl From<UnexpectedScrollbarElementActivatedError> for TkError
source§fn from(e: UnexpectedScrollbarElementActivatedError) -> Self
fn from(e: UnexpectedScrollbarElementActivatedError) -> Self
Converts to this type from the input type.
source§impl From<WidgetNotFound> for TkError
impl From<WidgetNotFound> for TkError
source§fn from(e: WidgetNotFound) -> Self
fn from(e: WidgetNotFound) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for TkError
impl !Send for TkError
impl !Sync for TkError
impl Unpin for TkError
impl UnwindSafe for TkError
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