Skip to main content

FieldGetter

Trait FieldGetter 

Source
pub trait FieldGetter<T>: Send + Sync {
    // Required method
    fn get(&self) -> impl Future<Output = Result<T, AraComError>> + Send;
}
Expand description

Trait for a readable field value

Required Methods§

Source

fn get(&self) -> impl Future<Output = Result<T, AraComError>> + Send

Retrieve the current field value from the service.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§