pub struct Source<'a, B> { /* private fields */ }Expand description
A process-scoped borrow of the selected native signal receiver.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, B> !RefUnwindSafe for Source<'a, B>
impl<'a, B> !Send for Source<'a, B>
impl<'a, B> !Sync for Source<'a, B>
impl<'a, B> Forget for Source<'a, B>
impl<'a, B> Freeze for Source<'a, B>where
I32NotAllOnes: Freeze,
PhantomData<&'a OwnedFd>: Freeze,
PhantomData<(Cell<&'a ()>, ThreadBound, B)>: Freeze,
impl<'a, B> Move for Source<'a, B>
impl<'a, B> Unpin for Source<'a, B>
impl<'a, B> UnsafeUnpin for Source<'a, B>where
I32NotAllOnes: UnsafeUnpin,
PhantomData<&'a OwnedFd>: UnsafeUnpin,
PhantomData<(Cell<&'a ()>, ThreadBound, B)>: UnsafeUnpin,
impl<'a, B> UnwindSafe for Source<'a, B>where
I32NotAllOnes: UnwindSafe,
&'a OwnedFd: UnwindSafe,
&'a (): UnwindSafe,
*mut (): UnwindSafe,
B: UnwindSafe,
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