[][src]Trait kschoonme_notifications_pb::notifications_server::Notifications

pub trait Notifications: Send + Sync + 'static {
#[must_use]    fn send_text<'life0, 'async_trait>(
        &'life0 self,
        request: Request<Payload>
    ) -> Pin<Box<dyn Future<Output = Result<Response<Response>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

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

Required methods

#[must_use]fn send_text<'life0, 'async_trait>(
    &'life0 self,
    request: Request<Payload>
) -> Pin<Box<dyn Future<Output = Result<Response<Response>, Status>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Loading content...

Implementors

Loading content...