enum SignalRegistration {
Unregistered {
class_handler: Option<Box<dyn Fn(&[Value]) -> Option<Value> + Send + Sync + 'static>>,
accumulator: Option<Box<dyn Fn(&SignalInvocationHint, Value, &Value) -> ControlFlow<Value, Value> + Send + Sync + 'static>>,
},
Registered {
type_: Type,
signal_id: SignalId,
},
}Variants§
Auto Trait Implementations§
impl Freeze for SignalRegistration
impl !RefUnwindSafe for SignalRegistration
impl Send for SignalRegistration
impl Sync for SignalRegistration
impl Unpin for SignalRegistration
impl !UnwindSafe for SignalRegistration
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