use strum_macros::Display;
use super::*;
#[derive(strum_macros::EnumMessage, Debug, Clone, Copy, Display)]
#[cfg_attr(feature = "python-bindings", pyclass)]
pub enum StreamStatus {
#[strum(message = "NotRunning", detailed_message = "Stream is not running")]
NotRunning{},
#[strum(message = "Running", detailed_message = "Stream is running")]
Running{},
#[strum(message = "Error", detailed_message = "An error occured with the stream")]
Error{
e: StreamError
}
}