pub enum PerformanceCounterAccessRequest {
GetPerformanceCountToken {
responder: PerformanceCounterAccessGetPerformanceCountTokenResponder,
},
}
Expand description
This protocol is implemented by ZX_PROTOCOL_GPU_PERFORMANCE_COUNTERS devices.
Variants§
GetPerformanceCountToken
This access token is not used as an event, but is instead passed to Primary.EnablePerformanceCounterAccess.
Fields
Implementations§
Source§impl PerformanceCounterAccessRequest
impl PerformanceCounterAccessRequest
pub fn into_get_performance_count_token( self, ) -> Option<PerformanceCounterAccessGetPerformanceCountTokenResponder>
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 PerformanceCounterAccessRequest
impl !RefUnwindSafe for PerformanceCounterAccessRequest
impl Send for PerformanceCounterAccessRequest
impl Sync for PerformanceCounterAccessRequest
impl Unpin for PerformanceCounterAccessRequest
impl !UnwindSafe for PerformanceCounterAccessRequest
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