pub struct IntoCallbackHandler<T, F: Fn(T)> { /* private fields */ }Expand description
A callback-based handler implementation that takes ownership.
This is the ownership-based equivalent of CallbackHandler.
Implementations§
Trait Implementations§
Source§impl<T, F: Fn(T)> Debug for IntoCallbackHandler<T, F>
impl<T, F: Fn(T)> Debug for IntoCallbackHandler<T, F>
Auto Trait Implementations§
impl<T, F> Freeze for IntoCallbackHandler<T, F>
impl<T, F> RefUnwindSafe for IntoCallbackHandler<T, F>
impl<T, F> Send for IntoCallbackHandler<T, F>
impl<T, F> Sync for IntoCallbackHandler<T, F>
impl<T, F> Unpin for IntoCallbackHandler<T, F>
impl<T, F> UnsafeUnpin for IntoCallbackHandler<T, F>
impl<T, F> UnwindSafe for IntoCallbackHandler<T, F>
Blanket Implementations§
impl<T> Allocation for T
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