pub struct PyAppHandleStateError;
Expand description
This error indicates that the app was not initialized using crate::ext_mod::App::try_build, i.e. it was not created by pytauri.
Trait Implementations§
Source§impl Debug for PyAppHandleStateError
impl Debug for PyAppHandleStateError
Source§impl Display for PyAppHandleStateError
impl Display for PyAppHandleStateError
Source§impl Error for PyAppHandleStateError
impl Error for PyAppHandleStateError
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<PyAppHandleStateError> for PyErr
impl From<PyAppHandleStateError> for PyErr
Source§fn from(value: PyAppHandleStateError) -> Self
fn from(value: PyAppHandleStateError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PyAppHandleStateError
impl RefUnwindSafe for PyAppHandleStateError
impl Send for PyAppHandleStateError
impl Sync for PyAppHandleStateError
impl Unpin for PyAppHandleStateError
impl UnwindSafe for PyAppHandleStateError
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