Struct cocaine::Sender [] [src]

pub struct Sender { /* fields omitted */ }

An upstream for sending additional chunks into a channel.

Methods

impl Sender
[src]

[src]

Sends a new data chunk into the channel associated with this upstream.

Returns a future that is completed when a chunk is completely written into the underlying socket or some error occurred.

This is the lowest-level API for working with services. You'd probably like to use one of the provided wrappers, like App or Unicorn.

Trait Implementations

impl Debug for Sender
[src]

[src]

Formats the value using the given formatter.