Skip to main content

PushNotificationProvider

Trait PushNotificationProvider 

Source
pub trait PushNotificationProvider:
    Send
    + Sync
    + 'static {
    // Provided method
    fn bind_push_token<'a>(
        &'a self,
        _token: String,
    ) -> BoxFuture<'a, Result<(), ProviderError>> { ... }
}
Expand description

Trait for push token binding.

Provided Methods§

Source

fn bind_push_token<'a>( &'a self, _token: String, ) -> BoxFuture<'a, Result<(), ProviderError>>

Bind push token to cloud side.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§