Struct web_push::WebPushClient [] [src]

pub struct WebPushClient { /* fields omitted */ }

An async client for sending the notification payload.

Methods

impl WebPushClient
[src]

[src]

[src]

Sends a notification. Never times out.

[src]

Sends a notification with a timeout. Triggers WebPushError::TimeoutError if the request takes too long.

Trait Implementations

impl Service for WebPushClient
[src]

Requests handled by the service.

Responses given by the service.

Errors produced by the service.

The future response value.

[src]

Process the request and return the response asynchronously.

Auto Trait Implementations

impl !Send for WebPushClient

impl !Sync for WebPushClient