pub enum SignalError {
WrongType,
NoValue,
WrongLengthArg,
}
Expand description
An error that can occur when getting or setting the value of a signal.
Variants§
WrongType
The data type of the signal does not match the type of the passed generic type.
NoValue
The signal does not have a value set yet.
WrongLengthArg
The length of the passed slice does not match the vector length of the signal.
Trait Implementations§
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