pub struct NonInlinedRequestStats {
pub allow_sync_calls: Option<u64>,
pub parallel_dispatch: Option<u64>,
pub task: Option<u64>,
pub unknown_thread: Option<u64>,
pub reentrant: Option<u64>,
pub channel_wait_not_yet_registered: Option<u64>,
pub no_thread_migration: Option<u64>,
/* private fields */
}Expand description
Breakdown of reasons why requests were not inlined by the driver runtime.
Fields§
§allow_sync_calls: Option<u64>Calling from a non-blocking to a blocking (ALLOW_SYNC_CALLS) dispatcher.
parallel_dispatch: Option<u64>Another thread was already dispatching a request.
task: Option<u64>The request was a task.
unknown_thread: Option<u64>The request was queued from an unknown thread.
reentrant: Option<u64>The request would have been reentrant.
channel_wait_not_yet_registered: Option<u64>Channel wait was not yet registered when the message was received.
no_thread_migration: Option<u64>Called into a dispatcher that wasn’t allowed to migrate threads.
Trait Implementations§
Source§impl Clone for NonInlinedRequestStats
impl Clone for NonInlinedRequestStats
Source§fn clone(&self) -> NonInlinedRequestStats
fn clone(&self) -> NonInlinedRequestStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NonInlinedRequestStats
impl Debug for NonInlinedRequestStats
Source§impl<D: ResourceDialect> Decode<NonInlinedRequestStats, D> for NonInlinedRequestStats
impl<D: ResourceDialect> Decode<NonInlinedRequestStats, D> for NonInlinedRequestStats
Source§impl Default for NonInlinedRequestStats
impl Default for NonInlinedRequestStats
Source§fn default() -> NonInlinedRequestStats
fn default() -> NonInlinedRequestStats
Returns the “default value” for a type. Read more
Source§impl<D: ResourceDialect> Encode<NonInlinedRequestStats, D> for &NonInlinedRequestStats
impl<D: ResourceDialect> Encode<NonInlinedRequestStats, D> for &NonInlinedRequestStats
Source§impl PartialEq for NonInlinedRequestStats
impl PartialEq for NonInlinedRequestStats
impl Persistable for NonInlinedRequestStats
impl StructuralPartialEq for NonInlinedRequestStats
Source§impl TypeMarker for NonInlinedRequestStats
impl TypeMarker for NonInlinedRequestStats
Source§type Owned = NonInlinedRequestStats
type Owned = NonInlinedRequestStats
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.Source§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 moreSource§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 NonInlinedRequestStats
impl ValueTypeMarker for NonInlinedRequestStats
Source§type Borrowed<'a> = &'a NonInlinedRequestStats
type Borrowed<'a> = &'a NonInlinedRequestStats
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned. There are three cases: Read moreAuto Trait Implementations§
impl Freeze for NonInlinedRequestStats
impl RefUnwindSafe for NonInlinedRequestStats
impl Send for NonInlinedRequestStats
impl Sync for NonInlinedRequestStats
impl Unpin for NonInlinedRequestStats
impl UnsafeUnpin for NonInlinedRequestStats
impl UnwindSafe for NonInlinedRequestStats
Blanket Implementations§
Source§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
Source§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
The marker type to use when the body is at the top-level.
Source§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