pub enum RunExit {
Stopped,
ProducerEnded,
Disconnected,
}Expand description
How a callback-mode stream run ended.
Variants§
Stopped
Stream was stopped via StreamControl::stop().
ProducerEnded
Producer returned None (graceful completion).
Disconnected
Device disconnected. No auto-reconnect; new streams start disarmed.
Trait Implementations§
impl Eq for RunExit
impl StructuralPartialEq for RunExit
Auto Trait Implementations§
impl Freeze for RunExit
impl RefUnwindSafe for RunExit
impl Send for RunExit
impl Sync for RunExit
impl Unpin for RunExit
impl UnwindSafe for RunExit
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