der

Type Alias Result

Source
pub type Result<T> = Result<T, Error>;
Expand description

Result type.

Aliased Type§

enum Result<T> {
    Ok(T),
    Err(Error),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value

Trait Implementations§

Source§

impl Add<Length> for Result<Length>

Source§

type Output = Result<Length, Error>

The resulting type after applying the + operator.
Source§

fn add(self, other: Length) -> Self

Performs the + operation. Read more
Source§

impl Sub<Length> for Result<Length>

Source§

type Output = Result<Length, Error>

The resulting type after applying the - operator.
Source§

fn sub(self, other: Length) -> Self

Performs the - operation. Read more