pub enum PerformanceCounterAccessRequest {
GetPerformanceCountToken {
responder: PerformanceCounterAccessGetPerformanceCountTokenResponder,
},
}
Expand description
This protocol is implemented by ZX_PROTOCOL_GPU_PERFORMANCE_COUNTERS devices.
Variants§
GetPerformanceCountToken
Fields
This access token is not used as an event, but is instead passed to Primary.EnablePerformanceCounterAccess.
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 !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