Enum sota::datatype::network::Method [] [src]

pub enum Method {
    Get,
    Post,
    Put,
}

Enumerate the supported HTTP methods.

Variants

Get
Post
Put

Trait Implementations

impl Into<HyperMethod> for Method
[src]

fn into(self) -> HyperMethod

Performs the conversion.

impl<'a> Into<Cow<'a, Method>> for Method
[src]

fn into(self) -> Cow<'a, Method>

Performs the conversion.

impl Display for Method
[src]

fn fmt(&self, f: &mut Formatter) -> FmtResult

Formats the value using the given formatter.

Derived Implementations

impl Debug for Method
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Method
[src]

fn clone(&self) -> Method

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more