pub enum SnapshotSinkV1Request {
StoreNamedSnapshot {
snapshot_name: String,
allocations_vmo_snapshot: Vmo,
control_handle: SnapshotSinkV1ControlHandle,
},
}
Expand description
Instrumented processes send application-initiated snapshots over this channel.
This channel is also used by the server to detect when an instrumented process exits.
Variants§
StoreNamedSnapshot
Asks the server to store a snapshot with the given name and the given allocations VMO.
All the resources referenced by the given allocations VMO will be resolved using the resources VMO that was shared by the process at registration time.
Implementations§
Source§impl SnapshotSinkV1Request
impl SnapshotSinkV1Request
pub fn into_store_named_snapshot( self, ) -> Option<(String, Vmo, SnapshotSinkV1ControlHandle)>
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 SnapshotSinkV1Request
impl !RefUnwindSafe for SnapshotSinkV1Request
impl Send for SnapshotSinkV1Request
impl Sync for SnapshotSinkV1Request
impl Unpin for SnapshotSinkV1Request
impl !UnwindSafe for SnapshotSinkV1Request
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