pub enum SignalError {
SignalDropped,
CircularDependency,
InvalidState,
}
Expand description
Errors that can occur in the reactive system
Variants§
SignalDropped
Signal has been dropped or is no longer accessible
CircularDependency
Circular dependency detected
InvalidState
Invalid state transition
Trait Implementations§
Source§impl Clone for SignalError
impl Clone for SignalError
Source§fn clone(&self) -> SignalError
fn clone(&self) -> SignalError
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 SignalError
impl Debug for SignalError
Source§impl Display for SignalError
impl Display for SignalError
Source§impl Error for SignalError
impl Error for SignalError
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<SignalError> for ComponentError
impl From<SignalError> for ComponentError
Source§fn from(error: SignalError) -> Self
fn from(error: SignalError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SignalError
impl RefUnwindSafe for SignalError
impl Send for SignalError
impl Sync for SignalError
impl Unpin for SignalError
impl UnwindSafe for SignalError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Event for T
impl<T> Event for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to Any for downcasting (mutable)
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Get the event type name
Source§impl<T> Props for T
impl<T> Props for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to mutable Any for downcasting