pub struct NullDataPtr(pub Obj);Expand description
Fails to retrieve data because the internal data pointer is null.
Tuple Fields§
§0: ObjTrait Implementations§
Source§impl Debug for NullDataPtr
impl Debug for NullDataPtr
Source§impl Display for NullDataPtr
impl Display for NullDataPtr
Source§impl Error for NullDataPtr
impl Error for NullDataPtr
1.30.0 · 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<NullDataPtr> for TclError
impl From<NullDataPtr> for TclError
Source§fn from(e: NullDataPtr) -> Self
fn from(e: NullDataPtr) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Send for NullDataPtr
impl !Sync for NullDataPtr
impl Freeze for NullDataPtr
impl RefUnwindSafe for NullDataPtr
impl Unpin for NullDataPtr
impl UnsafeUnpin for NullDataPtr
impl UnwindSafe for NullDataPtr
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