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§
Sourcefn bind_push_token<'a>(
&'a self,
_token: String,
) -> BoxFuture<'a, Result<(), ProviderError>>
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".