pub struct BackSignalInterval { /* private fields */ }Expand description
Interval that produces stream of “guarded” events.
Each time when such guarded event handled (dropped), event for the receiver is generated.
Implementations§
Source§impl BackSignalInterval
impl BackSignalInterval
Sourcepub fn new(duration: Duration) -> (Self, BackSignalControl)
pub fn new(duration: Duration) -> (Self, BackSignalControl)
New interval with hanldling notification.
Trait Implementations§
Source§impl IntoStream for BackSignalInterval
impl IntoStream for BackSignalInterval
type Guard = BackSignalGuard
fn into_stream(self) -> Box<dyn Stream<Item = BackSignalGuard> + Unpin + Send>
Auto Trait Implementations§
impl Freeze for BackSignalInterval
impl !RefUnwindSafe for BackSignalInterval
impl Send for BackSignalInterval
impl Sync for BackSignalInterval
impl Unpin for BackSignalInterval
impl !UnwindSafe for BackSignalInterval
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