Skip to main content

ClockExt

Trait ClockExt 

Source
pub trait ClockExt {
    // Required method
    fn connect_to_clock(
        &self,
        instance: &str,
    ) -> Result<Client<Clock>, DriverError>;
}
Expand description

Extension trait for DriverContext to simplify connecting to clock resources.

Required Methods§

Source

fn connect_to_clock(&self, instance: &str) -> Result<Client<Clock>, DriverError>

Connects to a clock resource with the given instance name.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ClockExt for DriverContext

Source§

fn connect_to_clock(&self, instance: &str) -> Result<Client<Clock>, DriverError>

Implementors§