pub struct RestartSource;Implementations§
Source§impl RestartSource
impl RestartSource
Sourcepub fn with_backoff<T, F>(settings: RestartSettings, factory: F) -> Source<T>
pub fn with_backoff<T, F>(settings: RestartSettings, factory: F) -> Source<T>
Re-subscribe to the source returned by the factory after it completes
(and every element it produced has been emitted). Equivalent to
RestartSource.WithBackoff when combined with the built-in backoff.
Auto Trait Implementations§
impl Freeze for RestartSource
impl RefUnwindSafe for RestartSource
impl Send for RestartSource
impl Sync for RestartSource
impl Unpin for RestartSource
impl UnsafeUnpin for RestartSource
impl UnwindSafe for RestartSource
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