pub struct AdjustProxy { /* private fields */ }
Implementations§
Source§impl AdjustProxy
impl AdjustProxy
Sourcepub fn take_event_stream(&self) -> AdjustEventStream
pub fn take_event_stream(&self) -> AdjustEventStream
Get a Stream of events from the remote end of the protocol.
§Panics
Panics if the event stream was already taken.
Sourcepub fn report_boot_to_utc_mapping(
&self,
boot_reference: BootInstant,
utc_reference: i64,
) -> QueryResponseFut<AdjustReportBootToUtcMappingResult, DefaultFuchsiaResourceDialect>
pub fn report_boot_to_utc_mapping( &self, boot_reference: BootInstant, utc_reference: i64, ) -> QueryResponseFut<AdjustReportBootToUtcMappingResult, DefaultFuchsiaResourceDialect>
Requests that the callee changes its UTC time estimate.
Reports the caller’s desired correspondence between the boot timeline, and the UTC timeline.
The caller is required to provide both reference points so that any
FIDL round-trip delays do not affect the callee’s interpretation of
the caller’s intentions. For example, were the callee to use its own
boot_reference
value instead of a caller-provided one, long wall time
delays between the caller’s and the callee’s sampling of boot_reference
would introduce a skew. While this is unlikely to happen on a device to
a meaningful extent, we established that this is the correct way to
transmit such information.
To wit, we have observed delays in test environments. This is likely because test environments run on emulators in shared-resource settings, where unusually long delays are relatively common.
Trait Implementations§
Source§impl AdjustProxyInterface for AdjustProxy
impl AdjustProxyInterface for AdjustProxy
type ReportBootToUtcMappingResponseFut = QueryResponseFut<Result<(), Error>>
fn report_boot_to_utc_mapping( &self, boot_reference: BootInstant, utc_reference: i64, ) -> Self::ReportBootToUtcMappingResponseFut
Source§impl Clone for AdjustProxy
impl Clone for AdjustProxy
Source§fn clone(&self) -> AdjustProxy
fn clone(&self) -> AdjustProxy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AdjustProxy
impl Debug for AdjustProxy
Source§impl Proxy for AdjustProxy
impl Proxy for AdjustProxy
Source§type Protocol = AdjustMarker
type Protocol = AdjustMarker
Proxy
controls.