pub enum PressureSource {
Cpu,
Unrecognized(String),
}Expand description
Experimental: may change without notice.
Variants§
Cpu
cpu
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl Clone for PressureSource
impl Clone for PressureSource
Source§impl Debug for PressureSource
impl Debug for PressureSource
Source§impl<'de> Deserialize<'de> for PressureSource
impl<'de> Deserialize<'de> for PressureSource
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 PressureSource
Source§impl Hash for PressureSource
impl Hash for PressureSource
Source§impl PartialEq for PressureSource
impl PartialEq for PressureSource
Source§impl Serialize for PressureSource
impl Serialize for PressureSource
impl StructuralPartialEq for PressureSource
Auto Trait Implementations§
impl Forget for PressureSource
impl Freeze for PressureSource
impl RefUnwindSafe for PressureSource
impl Send for PressureSource
impl Sync for PressureSource
impl Unpin for PressureSource
impl UnsafeUnpin for PressureSource
impl UnwindSafe for PressureSource
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