Struct RamdiskGetBlockCountsResponse
#[repr(C)]pub struct RamdiskGetBlockCountsResponse {
pub counts: BlockWriteCounts,
}
Fields§
§counts: BlockWriteCounts
Counters for the number of write requests since the last call to either “SleepAfter” or “Wake”. All units are in individual blocks.
Trait Implementations§
§impl Clone for RamdiskGetBlockCountsResponse
impl Clone for RamdiskGetBlockCountsResponse
§fn clone(&self) -> RamdiskGetBlockCountsResponse
fn clone(&self) -> RamdiskGetBlockCountsResponse
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 more§impl Debug for RamdiskGetBlockCountsResponse
impl Debug for RamdiskGetBlockCountsResponse
§impl<D> Decode<RamdiskGetBlockCountsResponse, D> for RamdiskGetBlockCountsResponsewhere
D: ResourceDialect,
impl<D> Decode<RamdiskGetBlockCountsResponse, D> for RamdiskGetBlockCountsResponsewhere
D: ResourceDialect,
§fn new_empty() -> RamdiskGetBlockCountsResponse
fn new_empty() -> RamdiskGetBlockCountsResponse
Creates a valid instance of
Self
. The specific value does not matter,
since it will be overwritten by decode
.§impl<D> Encode<RamdiskGetBlockCountsResponse, D> for &RamdiskGetBlockCountsResponsewhere
D: ResourceDialect,
impl<D> Encode<RamdiskGetBlockCountsResponse, D> for &RamdiskGetBlockCountsResponsewhere
D: ResourceDialect,
§impl Hash for RamdiskGetBlockCountsResponse
impl Hash for RamdiskGetBlockCountsResponse
§impl Ord for RamdiskGetBlockCountsResponse
impl Ord for RamdiskGetBlockCountsResponse
§fn cmp(&self, other: &RamdiskGetBlockCountsResponse) -> Ordering
fn cmp(&self, other: &RamdiskGetBlockCountsResponse) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for RamdiskGetBlockCountsResponse
impl PartialEq for RamdiskGetBlockCountsResponse
§impl PartialOrd for RamdiskGetBlockCountsResponse
impl PartialOrd for RamdiskGetBlockCountsResponse
§impl TypeMarker for RamdiskGetBlockCountsResponse
impl TypeMarker for RamdiskGetBlockCountsResponse
§type Owned = RamdiskGetBlockCountsResponse
type Owned = RamdiskGetBlockCountsResponse
The owned Rust type which this FIDL type decodes into.
§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.
§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 ValueTypeMarker for RamdiskGetBlockCountsResponse
impl ValueTypeMarker for RamdiskGetBlockCountsResponse
§type Borrowed<'a> = &'a RamdiskGetBlockCountsResponse
type Borrowed<'a> = &'a RamdiskGetBlockCountsResponse
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read more§fn borrow(
value: &<RamdiskGetBlockCountsResponse as TypeMarker>::Owned,
) -> <RamdiskGetBlockCountsResponse as ValueTypeMarker>::Borrowed<'_>
fn borrow( value: &<RamdiskGetBlockCountsResponse as TypeMarker>::Owned, ) -> <RamdiskGetBlockCountsResponse as ValueTypeMarker>::Borrowed<'_>
Cheaply converts from
&Self::Owned
to Self::Borrowed
.impl Copy for RamdiskGetBlockCountsResponse
impl Eq for RamdiskGetBlockCountsResponse
impl Persistable for RamdiskGetBlockCountsResponse
impl StructuralPartialEq for RamdiskGetBlockCountsResponse
Auto Trait Implementations§
impl Freeze for RamdiskGetBlockCountsResponse
impl RefUnwindSafe for RamdiskGetBlockCountsResponse
impl Send for RamdiskGetBlockCountsResponse
impl Sync for RamdiskGetBlockCountsResponse
impl Unpin for RamdiskGetBlockCountsResponse
impl UnwindSafe for RamdiskGetBlockCountsResponse
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