Skip to main content

Reply

Type Alias Reply 

Source
pub type Reply = Result<Answer, String>;
Expand description

The answer, or what went wrong.

Aliased Type§

pub enum Reply {
    Ok(Answer),
    Err(String),
}

Variants§

§1.0.0

Ok(Answer)

Contains the success value

§1.0.0

Err(String)

Contains the error value