fidl_fuchsia_testingTrait FakeClockControlProxyInterface
Source pub trait FakeClockControlProxyInterface: Send + Sync {
type AdvanceResponseFut: Future<Output = Result<FakeClockControlAdvanceResult, Error>> + Send;
type ResumeWithIncrementsResponseFut: Future<Output = Result<FakeClockControlResumeWithIncrementsResult, Error>> + Send;
type AddStopPointResponseFut: Future<Output = Result<FakeClockControlAddStopPointResult, Error>> + Send;
type PauseResponseFut: Future<Output = Result<(), Error>> + Send;
type IgnoreNamedDeadlineResponseFut: Future<Output = Result<(), Error>> + Send;
// Required methods
fn advance(&self, increment: &Increment) -> Self::AdvanceResponseFut;
fn resume_with_increments(
&self,
real: i64,
increment: &Increment,
) -> Self::ResumeWithIncrementsResponseFut;
fn add_stop_point(
&self,
deadline_id: &DeadlineId,
event_type: DeadlineEventType,
on_stop: EventPair,
) -> Self::AddStopPointResponseFut;
fn pause(&self) -> Self::PauseResponseFut;
fn ignore_named_deadline(
&self,
deadline_id: &DeadlineId,
) -> Self::IgnoreNamedDeadlineResponseFut;
}