pub struct SignalSource { /* private fields */ }Expand description
One observer’s source face over a Signal. Construct per
observer (it tracks whether this observer already yielded).
Implementations§
Trait Implementations§
impl DropSafe for SignalSource
Source§impl UnpinPipe for SignalSource
impl UnpinPipe for SignalSource
Auto Trait Implementations§
impl !Freeze for SignalSource
impl !RefUnwindSafe for SignalSource
impl !UnwindSafe for SignalSource
impl Send for SignalSource
impl Sync for SignalSource
impl Unpin for SignalSource
impl UnsafeUnpin for SignalSource
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<S> PollSourceExt for S
impl<S> PollSourceExt for S
Source§fn into_stream(self) -> AsStream<Self>
fn into_stream(self) -> AsStream<Self>
Owns
self, wrapping it as a futures::Stream.