pub struct CollectorTakeLiveSnapshotRequest {
pub process_selector: Option<ProcessSelector>,
pub receiver: Option<ClientEnd<SnapshotReceiverMarker>>,
pub with_contents: Option<bool>,
/* private fields */
}
Fields§
§process_selector: Option<ProcessSelector>
The instrumented process to operate on.
Required.
receiver: Option<ClientEnd<SnapshotReceiverMarker>>
Where the elements of the requested snapshot will be sent to.
Required.
with_contents: Option<bool>
Whether the snapshot should include the contents of each memory block.
If not set, false is assumed.
Trait Implementations§
Source§impl Decode<CollectorTakeLiveSnapshotRequest, DefaultFuchsiaResourceDialect> for CollectorTakeLiveSnapshotRequest
impl Decode<CollectorTakeLiveSnapshotRequest, DefaultFuchsiaResourceDialect> for CollectorTakeLiveSnapshotRequest
Source§impl Default for CollectorTakeLiveSnapshotRequest
impl Default for CollectorTakeLiveSnapshotRequest
Source§fn default() -> CollectorTakeLiveSnapshotRequest
fn default() -> CollectorTakeLiveSnapshotRequest
Returns the “default value” for a type. Read more
Source§impl Encode<CollectorTakeLiveSnapshotRequest, DefaultFuchsiaResourceDialect> for &mut CollectorTakeLiveSnapshotRequest
impl Encode<CollectorTakeLiveSnapshotRequest, DefaultFuchsiaResourceDialect> for &mut CollectorTakeLiveSnapshotRequest
Source§impl PartialEq for CollectorTakeLiveSnapshotRequest
impl PartialEq for CollectorTakeLiveSnapshotRequest
Source§fn eq(&self, other: &CollectorTakeLiveSnapshotRequest) -> bool
fn eq(&self, other: &CollectorTakeLiveSnapshotRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl ResourceTypeMarker for CollectorTakeLiveSnapshotRequest
impl ResourceTypeMarker for CollectorTakeLiveSnapshotRequest
Source§type Borrowed<'a> = &'a mut CollectorTakeLiveSnapshotRequest
type Borrowed<'a> = &'a mut CollectorTakeLiveSnapshotRequest
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &mut Self::Owned
. There are three cases: Read moreSource§fn take_or_borrow<'a>(
value: &'a mut <Self as TypeMarker>::Owned,
) -> Self::Borrowed<'a>
fn take_or_borrow<'a>( value: &'a mut <Self as TypeMarker>::Owned, ) -> Self::Borrowed<'a>
Cheaply converts from
&mut Self::Owned
to Self::Borrowed
. For
HandleBased
types this is “take” (it returns an owned handle and
replaces value
with Handle::invalid
), and for all other types it is
“borrow” (just converts from one reference to another).Source§impl TypeMarker for CollectorTakeLiveSnapshotRequest
impl TypeMarker for CollectorTakeLiveSnapshotRequest
Source§type Owned = CollectorTakeLiveSnapshotRequest
type Owned = CollectorTakeLiveSnapshotRequest
The owned Rust type which this FIDL type decodes into.
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.impl Standalone<DefaultFuchsiaResourceDialect> for CollectorTakeLiveSnapshotRequest
impl StructuralPartialEq for CollectorTakeLiveSnapshotRequest
Auto Trait Implementations§
impl Freeze for CollectorTakeLiveSnapshotRequest
impl RefUnwindSafe for CollectorTakeLiveSnapshotRequest
impl Send for CollectorTakeLiveSnapshotRequest
impl Sync for CollectorTakeLiveSnapshotRequest
impl Unpin for CollectorTakeLiveSnapshotRequest
impl UnwindSafe for CollectorTakeLiveSnapshotRequest
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