Skip to main content

ActionAnswer

Type Alias ActionAnswer 

Source
pub type ActionAnswer = Result<Value, String>;
Expand description

The answer to one action the workspace’s host ran.

Aliased Type§

pub enum ActionAnswer {
    Ok(Value),
    Err(String),
}

Variants§

§1.0.0

Ok(Value)

Contains the success value

§1.0.0

Err(String)

Contains the error value