pub struct Handler<'b, F: Callback> { /* private fields */ }
Expand description
Lifetime manager for Callback
, will uninstall the callback when dropped.
Internally hold a Receiver
(accessed by Self::receiver
) to receive output of callback from visa.
Implementations
Trait Implementations
Auto Trait Implementations
impl<'b, F> !RefUnwindSafe for Handler<'b, F>
impl<'b, F> !Send for Handler<'b, F>
impl<'b, F> !Sync for Handler<'b, F>
impl<'b, F> Unpin for Handler<'b, F>
impl<'b, F> !UnwindSafe for Handler<'b, F>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more