Struct win_sys::WaiterSignaler
source · [−]pub struct WaiterSignaler(_);Implementations
sourceimpl WaiterSignaler
impl WaiterSignaler
sourcepub unsafe fn signal(&self)
pub unsafe fn signal(&self)
Safety
Signals the Waiter. This is unsafe because the lifetime of WaiterSignaler is not tied
to the lifetime of the Waiter. This is not possible in this case because the Waiter
is used to signal a WinRT async completion and the compiler doesn’t know that the lifetime
of the delegate is bounded by the calling function.
Auto Trait Implementations
impl RefUnwindSafe for WaiterSignaler
impl Send for WaiterSignaler
impl Sync for WaiterSignaler
impl Unpin for WaiterSignaler
impl UnwindSafe for WaiterSignaler
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more