pub enum DebugUtilsRequest {
SetPowerState {
power_state: i64,
responder: DebugUtilsSetPowerStateResponder,
},
}
Expand description
Low-level protocol exposed by the GPU driver used mainly for testing and debugging the driver.
Variants§
SetPowerState
Set the GPU power state. Returns after the transition is complete.
Implementations§
Source§impl DebugUtilsRequest
impl DebugUtilsRequest
pub fn into_set_power_state( self, ) -> Option<(i64, DebugUtilsSetPowerStateResponder)>
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 Freeze for DebugUtilsRequest
impl !RefUnwindSafe for DebugUtilsRequest
impl Send for DebugUtilsRequest
impl Sync for DebugUtilsRequest
impl Unpin for DebugUtilsRequest
impl !UnwindSafe for DebugUtilsRequest
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