lodepng

Type Alias Result

Source
pub type Result<T, E = Error> = Result<T, E>;

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value

Trait Implementations§

Source§

impl From<ErrorCode> for Result<(), Error>

Source§

fn from(err: ErrorCode) -> Self

Converts to this type from the input type.