fidl_fuchsia_testing

Trait 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;
}

Required Associated Types§

Required Methods§

Source

fn advance(&self, increment: &Increment) -> Self::AdvanceResponseFut

Source

fn resume_with_increments( &self, real: i64, increment: &Increment, ) -> Self::ResumeWithIncrementsResponseFut

Source

fn add_stop_point( &self, deadline_id: &DeadlineId, event_type: DeadlineEventType, on_stop: EventPair, ) -> Self::AddStopPointResponseFut

Source

fn pause(&self) -> Self::PauseResponseFut

Source

fn ignore_named_deadline( &self, deadline_id: &DeadlineId, ) -> Self::IgnoreNamedDeadlineResponseFut

Implementors§