Struct new_tokio_smtp::response::ResponseCode[][src]

pub struct ResponseCode(_);

the response code of used by smtp server

Methods

impl ResponseCode
[src]

true if the code starts with 2

true if the code starts with 3

true if the code starts with 4

true if the code starts with 5

true if the code doesn't start with 2 or 3

the actual bytes returned as response code

Trait Implementations

impl Debug for ResponseCode
[src]

Formats the value using the given formatter. Read more

impl Copy for ResponseCode
[src]

impl Clone for ResponseCode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for ResponseCode
[src]

impl PartialEq for ResponseCode
[src]

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

This method tests for !=.

impl Hash for ResponseCode
[src]

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

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

Auto Trait Implementations