pub enum MotionBindingError<S> {
MissingTarget(S),
MissingTransition {
from: S,
to: S,
},
Motion(MotionError),
}Expand description
Failure returned while applying a motion binding.
Variants§
MissingTarget(S)
The requested business state has no target value.
MissingTransition
Neither an exact transition nor a fallback factory was configured.
Motion(MotionError)
The runtime rejected the supplied motion handle.
Trait Implementations§
Source§impl<S: Clone> Clone for MotionBindingError<S>
impl<S: Clone> Clone for MotionBindingError<S>
Source§fn clone(&self) -> MotionBindingError<S>
fn clone(&self) -> MotionBindingError<S>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<S: Debug> Debug for MotionBindingError<S>
impl<S: Debug> Debug for MotionBindingError<S>
Source§impl<S> Display for MotionBindingError<S>where
S: Debug,
impl<S> Display for MotionBindingError<S>where
S: Debug,
impl<S: Eq> Eq for MotionBindingError<S>
Source§impl<S> Error for MotionBindingError<S>
impl<S> Error for MotionBindingError<S>
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<S> From<MotionError> for MotionBindingError<S>
impl<S> From<MotionError> for MotionBindingError<S>
Source§fn from(source: MotionError) -> Self
fn from(source: MotionError) -> Self
Converts to this type from the input type.
Source§impl<S: PartialEq> PartialEq for MotionBindingError<S>
impl<S: PartialEq> PartialEq for MotionBindingError<S>
impl<S: PartialEq> StructuralPartialEq for MotionBindingError<S>
Auto Trait Implementations§
impl<S> Freeze for MotionBindingError<S>where
S: Freeze,
impl<S> RefUnwindSafe for MotionBindingError<S>where
S: RefUnwindSafe,
impl<S> Send for MotionBindingError<S>where
S: Send,
impl<S> Sync for MotionBindingError<S>where
S: Sync,
impl<S> Unpin for MotionBindingError<S>where
S: Unpin,
impl<S> UnsafeUnpin for MotionBindingError<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for MotionBindingError<S>where
S: UnwindSafe,
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