Enum conv::errors::NoError
[−]
[src]
pub enum NoError {}Indicates that it is not possible for the conversion to fail.
You can use the UnwrapOk::unwrap_ok method to discard the (statically impossible) Err case from a Result<_, NoError>, without using Result::unwrap (which is typically viewed as a "code smell").
Trait Implementations
impl Debug for NoError[src]
impl PartialOrd for NoError[src]
fn partial_cmp(&self, __arg_0: &NoError) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool1.0.0
This method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Rhs) -> bool1.0.0
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) -> bool1.0.0
This method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Rhs) -> bool1.0.0
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Ord for NoError[src]
fn cmp(&self, __arg_0: &NoError) -> Ordering
This method returns an Ordering between self and other. Read more
impl PartialEq for NoError[src]
fn eq(&self, __arg_0: &NoError) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Eq for NoError[src]
impl Clone for NoError[src]
fn clone(&self) -> NoError
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