pub enum SpellError {
SqliteError(Error),
KeyNotExists(String),
NoRelay,
SetRelayForbidden,
RelayAlreadySet,
SetTriggerConfigForbidden,
NoTriggerConfig,
}Variants§
SqliteError(Error)
KeyNotExists(String)
NoRelay
SetRelayForbidden
RelayAlreadySet
SetTriggerConfigForbidden
NoTriggerConfig
Trait Implementations§
Source§impl Debug for SpellError
impl Debug for SpellError
Source§impl Display for SpellError
impl Display for SpellError
Source§impl Error for SpellError
impl Error for SpellError
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<Error> for SpellError
impl From<Error> for SpellError
Source§fn from(source: SqliteError) -> Self
fn from(source: SqliteError) -> Self
Converts to this type from the input type.
Source§impl From<SpellError> for UnitValue
impl From<SpellError> for UnitValue
Source§fn from(error: SpellError) -> Self
fn from(error: SpellError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SpellError
impl RefUnwindSafe for SpellError
impl Send for SpellError
impl Sync for SpellError
impl Unpin for SpellError
impl UnwindSafe for SpellError
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