Enum routing::Request [] [src]

pub enum Request {
    Refresh(Vec<u8>, MessageId),
    Get(DataIdentifierMessageId),
    Put(DataMessageId),
    Post(DataMessageId),
    Delete(DataMessageId),
    Append(AppendWrapperMessageId),
    GetAccountInfo(MessageId),
}

Request message types

Variants

Message from upper layers sending network state on any network churn event.

Ask for data from network, passed from API with data name as parameter

Put data to network. Provide actual data as parameter

Post data to network. Provide actual data as parameter

Delete data from network. Provide actual data as parameter

Append an item to an appendable data chunk.

Get account information for Client with given ID

Methods

impl Request
[src]

The priority Crust should send this message with.

Is the response corresponding to this request cacheable?

Trait Implementations

impl Ord for Request
[src]

This method returns an Ordering between self and other. Read more

impl PartialOrd for Request
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Eq for Request
[src]

impl PartialEq for Request
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for Request
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for Request
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Request
[src]

Formats the value using the given formatter.