Enum slint_interpreter::InvokeError
source · pub enum InvokeError {
NoSuchCallable,
}
Expand description
Error returned by ComponentInstance::invoke
Variants§
NoSuchCallable
There is no callback or function with the given name
Implementations§
source§impl InvokeError
impl InvokeError
sourcepub const NoSuchCallback: Self = Self::NoSuchCallable
👎Deprecated: Renamed NoSuchCallable
pub const NoSuchCallback: Self = Self::NoSuchCallable
deprecated alias to InvokeCallbackError::NoSuchCallback
Trait Implementations§
source§impl Clone for InvokeError
impl Clone for InvokeError
source§fn clone(&self) -> InvokeError
fn clone(&self) -> InvokeError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InvokeError
impl Debug for InvokeError
source§impl Display for InvokeError
impl Display for InvokeError
source§impl Error for InvokeError
impl Error for InvokeError
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 PartialEq<InvokeError> for InvokeError
impl PartialEq<InvokeError> for InvokeError
source§fn eq(&self, other: &InvokeError) -> bool
fn eq(&self, other: &InvokeError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.