Type Alias der::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>

§

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>

§

type Output = Result<Length, Error>

The resulting type after applying the - operator.
source§

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

Performs the - operation. Read more