pub enum RegistryRequest {
RegisterV1 {
process: Process,
allocations_vmo: Vmo,
resources_vmo: Vmo,
snapshot_sink: ServerEnd<SnapshotSinkV1Marker>,
control_handle: RegistryControlHandle,
},
}
Expand description
The Registry keeps track of all the instrumented processes that are running in the system.
Variants§
RegisterV1
Binds the given process to the registry and share the relevant resources.
Fields
§
process: Process
§
allocations_vmo: Vmo
§
resources_vmo: Vmo
§
snapshot_sink: ServerEnd<SnapshotSinkV1Marker>
§
control_handle: RegistryControlHandle
Implementations§
Source§impl RegistryRequest
impl RegistryRequest
pub fn into_register_v1( self, ) -> Option<(Process, Vmo, Vmo, ServerEnd<SnapshotSinkV1Marker>, RegistryControlHandle)>
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 RegistryRequest
impl !RefUnwindSafe for RegistryRequest
impl Send for RegistryRequest
impl Sync for RegistryRequest
impl Unpin for RegistryRequest
impl !UnwindSafe for RegistryRequest
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