Skip to main content

Settings

Trait Settings 

Source
pub trait Settings:
    Send
    + Sync
    + 'static {
    // Required method
    fn list<'life0, 'async_trait>(
        &'life0 self,
        request: Request<SettingsListRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<SettingsListResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Generated trait containing gRPC methods that should be implemented for use with SettingsServer.

Required Methods§

Source

fn list<'life0, 'async_trait>( &'life0 self, request: Request<SettingsListRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<SettingsListResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Read declarations, complete values, revision and issued cut; plugin callers are restricted to their own entry.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§