pub struct CallbackWrapper<T, V> {
pub message: T,
pub sender: CallbackSender<V>,
}Expand description
A wrapper for a callback.
Fields§
§message: TThe message.
sender: CallbackSender<V>The sender for the callback.
Auto Trait Implementations§
impl<T, V> Freeze for CallbackWrapper<T, V>where
T: Freeze,
impl<T, V> !RefUnwindSafe for CallbackWrapper<T, V>
impl<T, V> Send for CallbackWrapper<T, V>
impl<T, V> Sync for CallbackWrapper<T, V>
impl<T, V> Unpin for CallbackWrapper<T, V>where
T: Unpin,
impl<T, V> !UnwindSafe for CallbackWrapper<T, V>
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