Struct pemmican::Pemmican [] [src]

pub struct Pemmican<S: Send + Sync + 'static, E: StdError + Send + Sync + 'static> {
    pub pool: CpuPool,
    pub state: S,
    // some fields omitted
}

Fields

Methods

impl<S: Send + Sync + 'static, E: StdError + Send + Sync + 'static> Pemmican<S, E>
[src]

Trait Implementations

impl<S: Send + Sync + 'static + Default, E: StdError + Send + Sync + 'static> Default for Pemmican<S, E>
[src]

Returns the "default value" for a type. Read more

impl<S: Send + Sync + 'static, E: StdError + Send + Sync + 'static> Service for Pemmican<S, E>
[src]

Requests handled by the service.

Responses given by the service.

Errors produced by the service.

The future response value.

Process the request and return the response asynchronously.