Struct fcm::Client
[−]
[src]
pub struct Client { /* fields omitted */ }
Methods
impl Client
[src]
fn new(handle: &Handle) -> Result<Client, Error>
Get a new instance of Client.
fn send(&self, message: Message) -> FutureResponse
Trait Implementations
impl Service for Client
[src]
type Request = Message
Requests handled by the service.
type Response = FcmResponse
Responses given by the service.
type Error = FcmError
Errors produced by the service.
type Future = FutureResponse
The future response value.
fn call(&self, message: Self::Request) -> Self::Future
Process the request and return the response asynchronously.