Skip to main content

FieldSetter

Trait FieldSetter 

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

Trait for a writable field value

Required Methods§

Source

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

Set the field value on 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§