#[repr(C)]pub struct FakeClockGetResponse {
    pub boot_time: Instant<BootTimeline>,
    pub monotonic_time: Instant<MonotonicTimeline>,
}Fields§
§boot_time: Instant<BootTimeline>§monotonic_time: Instant<MonotonicTimeline>Trait Implementations§
Source§impl Clone for FakeClockGetResponse
 
impl Clone for FakeClockGetResponse
Source§fn clone(&self) -> FakeClockGetResponse
 
fn clone(&self) -> FakeClockGetResponse
Returns a duplicate 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 FakeClockGetResponse
 
impl Debug for FakeClockGetResponse
Source§impl<D> Decode<FakeClockGetResponse, D> for FakeClockGetResponsewhere
    D: ResourceDialect,
 
impl<D> Decode<FakeClockGetResponse, D> for FakeClockGetResponsewhere
    D: ResourceDialect,
Source§fn new_empty() -> FakeClockGetResponse
 
fn new_empty() -> FakeClockGetResponse
Creates a valid instance of 
Self. The specific value does not matter,
since it will be overwritten by decode.Source§impl<D> Encode<FakeClockGetResponse, D> for &FakeClockGetResponsewhere
    D: ResourceDialect,
 
impl<D> Encode<FakeClockGetResponse, D> for &FakeClockGetResponsewhere
    D: ResourceDialect,
Source§impl Hash for FakeClockGetResponse
 
impl Hash for FakeClockGetResponse
Source§impl Ord for FakeClockGetResponse
 
impl Ord for FakeClockGetResponse
Source§fn cmp(&self, other: &FakeClockGetResponse) -> Ordering
 
fn cmp(&self, other: &FakeClockGetResponse) -> 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
Source§impl PartialEq for FakeClockGetResponse
 
impl PartialEq for FakeClockGetResponse
Source§impl PartialOrd for FakeClockGetResponse
 
impl PartialOrd for FakeClockGetResponse
Source§impl TypeMarker for FakeClockGetResponse
 
impl TypeMarker for FakeClockGetResponse
Source§type Owned = FakeClockGetResponse
 
type Owned = FakeClockGetResponse
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 FakeClockGetResponse
 
impl ValueTypeMarker for FakeClockGetResponse
Source§type Borrowed<'a> = &'a FakeClockGetResponse
 
type Borrowed<'a> = &'a FakeClockGetResponse
The Rust type to use for encoding. This is a particular 
Encode<Self>
type cheaply obtainable from &Self::Owned. There are three cases: Read moreSource§fn borrow(
    value: &<FakeClockGetResponse as TypeMarker>::Owned,
) -> <FakeClockGetResponse as ValueTypeMarker>::Borrowed<'_>
 
fn borrow( value: &<FakeClockGetResponse as TypeMarker>::Owned, ) -> <FakeClockGetResponse as ValueTypeMarker>::Borrowed<'_>
Cheaply converts from 
&Self::Owned to Self::Borrowed.impl Copy for FakeClockGetResponse
impl Eq for FakeClockGetResponse
impl Persistable for FakeClockGetResponse
impl StructuralPartialEq for FakeClockGetResponse
Auto Trait Implementations§
impl Freeze for FakeClockGetResponse
impl RefUnwindSafe for FakeClockGetResponse
impl Send for FakeClockGetResponse
impl Sync for FakeClockGetResponse
impl Unpin for FakeClockGetResponse
impl UnwindSafe for FakeClockGetResponse
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