#[non_exhaustive]pub enum ResourceBound {
Lower,
Unknown(String),
}Expand description
Exact counters omit this member; uncontained or ambiguous CPU is a floor.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ResourceBound
impl Clone for ResourceBound
Source§impl Debug for ResourceBound
impl Debug for ResourceBound
Source§impl<'de> Deserialize<'de> for ResourceBound
impl<'de> Deserialize<'de> for ResourceBound
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
impl Eq for ResourceBound
Source§impl PartialEq for ResourceBound
impl PartialEq for ResourceBound
Source§impl Serialize for ResourceBound
impl Serialize for ResourceBound
impl StructuralPartialEq for ResourceBound
Auto Trait Implementations§
impl Forget for ResourceBound
impl Freeze for ResourceBound
impl Move for ResourceBound
impl RefUnwindSafe for ResourceBound
impl Send for ResourceBound
impl Sync for ResourceBound
impl Unpin for ResourceBound
impl UnsafeUnpin for ResourceBound
impl UnwindSafe for ResourceBound
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