Enum finchers::error::Never [−][src]
pub enum Never {}
A type which has no possible values.
Methods
impl Never
[src]
impl Never
pub fn never_into<T>(self) -> T
[src]
pub fn never_into<T>(self) -> T
Consume itself and transform into an arbitrary type.
NOTE: This function has never been actually called because the possible values don't exist.
Trait Implementations
impl Debug for Never
[src]
impl Debug for Never
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for Never
[src]
impl Copy for Never
impl Clone for Never
[src]
impl Clone for Never
fn clone(&self) -> Never
[src]
fn clone(&self) -> Never
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for Never
[src]
impl PartialEq for Never
fn eq(&self, other: &Never) -> bool
[src]
fn eq(&self, other: &Never) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl PartialOrd for Never
[src]
impl PartialOrd for Never
fn partial_cmp(&self, other: &Never) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Never) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for Never
[src]
impl Ord for Never
fn cmp(&self, other: &Never) -> Ordering
[src]
fn cmp(&self, other: &Never) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl Eq for Never
[src]
impl Eq for Never
impl Display for Never
[src]
impl Display for Never
fn fmt(&self, _: &mut Formatter) -> Result
[src]
fn fmt(&self, _: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for Never
[src]
impl Error for Never
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl HttpError for Never
[src]
impl HttpError for Never
fn status_code(&self) -> StatusCode
[src]
fn status_code(&self) -> StatusCode
Return the HTTP status code associated with this error type.
fn headers(&self, headers: &mut HeaderMap)
[src]
fn headers(&self, headers: &mut HeaderMap)
Append a set of header values to the header map.
fn cause(&self) -> Option<&Fail>
[src]
fn cause(&self) -> Option<&Fail>