pub enum StopReason {
UserRequested,
RestartLimitExceeded {
restart_count: u32,
},
EndOfStream,
Fatal {
detail: String,
},
}Expand description
Reason a feed stopped permanently.
Variants§
UserRequested
Normal shutdown requested by the user.
RestartLimitExceeded
The restart limit was exceeded after repeated failures.
EndOfStream
End of stream on a file source.
Fatal
An unrecoverable error occurred.
Trait Implementations§
Source§impl Clone for StopReason
impl Clone for StopReason
Source§fn clone(&self) -> StopReason
fn clone(&self) -> StopReason
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StopReason
impl RefUnwindSafe for StopReason
impl Send for StopReason
impl Sync for StopReason
impl Unpin for StopReason
impl UnsafeUnpin for StopReason
impl UnwindSafe for StopReason
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