pub enum DependencyInjectionRequest {
SetMemoryPressureProvider {
provider: ClientEnd<ProviderMarker>,
control_handle: DependencyInjectionControlHandle,
},
}
Expand description
This protocol is implemented by ZX_PROTOCOL_GPU_DEPENDENCY_INJECTION devices. It’s used to inject dependencies on other services into the MSD. It can be used only by a privileged process.
Variants§
SetMemoryPressureProvider
Provides a fuchsia.memorypressure.Provider
implementation to the MSD.
Implementations§
Source§impl DependencyInjectionRequest
impl DependencyInjectionRequest
pub fn into_set_memory_pressure_provider( self, ) -> Option<(ClientEnd<ProviderMarker>, DependencyInjectionControlHandle)>
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 DependencyInjectionRequest
impl !RefUnwindSafe for DependencyInjectionRequest
impl Send for DependencyInjectionRequest
impl Sync for DependencyInjectionRequest
impl Unpin for DependencyInjectionRequest
impl !UnwindSafe for DependencyInjectionRequest
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