pub struct Veto<const N: usize> { /* private fields */ }Expand description
One writer’s handle on its slot of a VetoGate, from TaskNode::veto.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<const N: usize> !RefUnwindSafe for Veto<N>
impl<const N: usize> !UnwindSafe for Veto<N>
impl<const N: usize> Freeze for Veto<N>
impl<const N: usize> Send for Veto<N>
impl<const N: usize> Sync for Veto<N>
impl<const N: usize> Unpin for Veto<N>
impl<const N: usize> UnsafeUnpin for Veto<N>where
&'static VetoGate<N>: UnsafeUnpin,
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