pub enum SpotStatus {
Normal = 0,
Excess = 1,
Anomaly = 2,
}Expand description
Status codes returned by SPOT operations that match the C implementation exactly
§Serialization
When the serde feature is enabled, this enum can be serialized and deserialized.
Variants§
Normal = 0
Data is normal
Excess = 1
Data is in the tail (excess)
Anomaly = 2
Data is beyond the anomaly threshold
Trait Implementations§
Source§impl Clone for SpotStatus
impl Clone for SpotStatus
Source§fn clone(&self) -> SpotStatus
fn clone(&self) -> SpotStatus
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 moreSource§impl Debug for SpotStatus
impl Debug for SpotStatus
Source§impl<'de> Deserialize<'de> for SpotStatus
impl<'de> Deserialize<'de> for SpotStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<i32> for SpotStatus
impl From<i32> for SpotStatus
Source§impl PartialEq for SpotStatus
impl PartialEq for SpotStatus
Source§impl Serialize for SpotStatus
impl Serialize for SpotStatus
impl Copy for SpotStatus
impl Eq for SpotStatus
impl StructuralPartialEq for SpotStatus
Auto Trait Implementations§
impl Freeze for SpotStatus
impl RefUnwindSafe for SpotStatus
impl Send for SpotStatus
impl Sync for SpotStatus
impl Unpin for SpotStatus
impl UnwindSafe for SpotStatus
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