pub enum ClientStateWatcherRequest {
Watch {
responder: ClientStateWatcherWatchResponder,
},
#[non_exhaustive] _UnknownMethod {
ordinal: u64,
control_handle: ClientStateWatcherControlHandle,
method_type: MethodType,
},
}Expand description
Hanging-get protocol used by cpu_manager to observe per-cluster OPP ceiling
changes computed by PowercapController.
Variants§
Watch
Hanging-get that returns a vector of OPP indices indexed by cluster_id.
Returns immediately on the first call for a connection with the current
per-cluster OPP ceilings, and blocks on subsequent calls until domain_opps
changes.
OPP index 0 represents the highest-frequency (unthrottled) operating
point, with larger indices representing lower frequency ceilings (matching
fuchsia.power.cpu/DomainController).
Fields
§
responder: ClientStateWatcherWatchResponder#[non_exhaustive]_UnknownMethod
An interaction was received which does not match any known method.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
control_handle: ClientStateWatcherControlHandle§
method_type: MethodTypeImplementations§
Source§impl ClientStateWatcherRequest
impl ClientStateWatcherRequest
pub fn into_watch(self) -> Option<ClientStateWatcherWatchResponder>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ClientStateWatcherRequest
impl !UnwindSafe for ClientStateWatcherRequest
impl Freeze for ClientStateWatcherRequest
impl Send for ClientStateWatcherRequest
impl Sync for ClientStateWatcherRequest
impl Unpin for ClientStateWatcherRequest
impl UnsafeUnpin for ClientStateWatcherRequest
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