pub struct Cpu {
pub assertive_dependency_token: Option<Event>,
}Expand description
Holds tokens to the CPU power element.
[fuchsia.power.system/CpuLevel] defines the power levels supported by this power element.
Fields§
§assertive_dependency_token: Option<Event>Trait Implementations§
Source§impl<___E> Encode<Cpu<'static>, ___E> for Cpuwhere
___E: Encoder + ?Sized + HandleEncoder,
impl<___E> Encode<Cpu<'static>, ___E> for Cpuwhere
___E: Encoder + ?Sized + HandleEncoder,
impl StructuralPartialEq for Cpu
Auto Trait Implementations§
impl Freeze for Cpu
impl RefUnwindSafe for Cpu
impl Send for Cpu
impl Sync for Cpu
impl Unpin for Cpu
impl UnsafeUnpin for Cpu
impl UnwindSafe for Cpu
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
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]