pub enum RuntimeState {
Starting,
Running,
Paused,
Draining,
Stopped,
Failed,
}Expand description
Observable lifecycle state of a running connector, read via
ConnectorHandle::state.
Variants§
Starting
Spawned but not yet inside the loop (seeking to its checkpoint).
Running
Actively polling and writing.
Paused
Draining
Draining the remaining available records on the way to a clean stop.
Stopped
Stopped cleanly — the source drained and both ends were closed.
Failed
Stopped because the loop returned an error.
Trait Implementations§
Source§impl Clone for RuntimeState
impl Clone for RuntimeState
Source§fn clone(&self) -> RuntimeState
fn clone(&self) -> RuntimeState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RuntimeState
Source§impl Debug for RuntimeState
impl Debug for RuntimeState
impl Eq for RuntimeState
Source§impl PartialEq for RuntimeState
impl PartialEq for RuntimeState
Source§fn eq(&self, other: &RuntimeState) -> bool
fn eq(&self, other: &RuntimeState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuntimeState
Auto Trait Implementations§
impl Freeze for RuntimeState
impl RefUnwindSafe for RuntimeState
impl Send for RuntimeState
impl Sync for RuntimeState
impl Unpin for RuntimeState
impl UnsafeUnpin for RuntimeState
impl UnwindSafe for RuntimeState
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