[][src]Module fin_model::request

Provides the common Result type and error enum used by request traits.

Example

pub trait Peers {
    fn peers(&self, for_symbol: Symbol) -> RequestResult<Snapshot<Vec<Symbol>>>;
}

Enums

RequestError

The common error responses returned from request traits.

Type Definitions

RequestResult

The common Result returned from request traits; the success type is unspecified but the error is always RequestError.