pub enum NasooneState {
Initial,
Running,
Paused,
Finished,
Stopped,
}
Expand description
Represents in which state the capture is.
Variants§
Initial
The capture is not started and can be configured
Running
The capture is started and can be paused or stopped but not configured.
Paused
The capture is paused and can be resumed or stopped.
Finished
The capture has finished, the user can retrieve stats calling stop.
Stopped
The capture is stopped and can only return to Initial.
Trait Implementations§
Source§impl Clone for NasooneState
impl Clone for NasooneState
Source§fn clone(&self) -> NasooneState
fn clone(&self) -> NasooneState
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NasooneState
impl Debug for NasooneState
Source§impl PartialEq for NasooneState
impl PartialEq for NasooneState
impl Eq for NasooneState
impl StructuralPartialEq for NasooneState
Auto Trait Implementations§
impl Freeze for NasooneState
impl RefUnwindSafe for NasooneState
impl Send for NasooneState
impl Sync for NasooneState
impl Unpin for NasooneState
impl UnwindSafe for NasooneState
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