pub struct TerminateOptions {
pub write_results: Option<bool>,
/* private fields */
}
Expand description
Options to be passed with the TerminateTracing request. This determines whether any pending data is written to the output socket before it is closed.
Fields§
§write_results: Option<bool>
If true then write trace results. If false then discard trace results.
Trait Implementations§
source§impl Clone for TerminateOptions
impl Clone for TerminateOptions
source§fn clone(&self) -> TerminateOptions
fn clone(&self) -> TerminateOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TerminateOptions
impl Debug for TerminateOptions
source§impl Decode<TerminateOptions> for TerminateOptions
impl Decode<TerminateOptions> for TerminateOptions
source§impl Default for TerminateOptions
impl Default for TerminateOptions
source§fn default() -> TerminateOptions
fn default() -> TerminateOptions
Returns the “default value” for a type. Read more
source§impl Encode<TerminateOptions> for &TerminateOptions
impl Encode<TerminateOptions> for &TerminateOptions
source§impl PartialEq for TerminateOptions
impl PartialEq for TerminateOptions
source§fn eq(&self, other: &TerminateOptions) -> bool
fn eq(&self, other: &TerminateOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TypeMarker for TerminateOptions
impl TypeMarker for TerminateOptions
§type Owned = TerminateOptions
type Owned = TerminateOptions
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.source§impl ValueTypeMarker for TerminateOptions
impl ValueTypeMarker for TerminateOptions
§type Borrowed<'a> = &'a TerminateOptions
type Borrowed<'a> = &'a TerminateOptions
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Persistable for TerminateOptions
impl StructuralPartialEq for TerminateOptions
Auto Trait Implementations§
impl Freeze for TerminateOptions
impl RefUnwindSafe for TerminateOptions
impl Send for TerminateOptions
impl Sync for TerminateOptions
impl Unpin for TerminateOptions
impl UnwindSafe for TerminateOptions
Blanket Implementations§
§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
The marker type to use when the body is at the top-level.
§type MarkerInResultUnion = T
type MarkerInResultUnion = T
The marker type to use when the body is nested in a result union.
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