Skip to main content

ControlResult

Type Alias ControlResult 

pub type ControlResult = Result<ResourceOperationStart, DoorError>;
Expand description

How the host answered a control’s invocation: started (done at once with its output, or accepted to finish later), or refused.

Aliased Type§

pub enum ControlResult {
    Ok(ResourceOperationStart),
    Err(DoorError),
}

Variants§

§1.0.0

Ok(ResourceOperationStart)

Contains the success value

§1.0.0

Err(DoorError)

Contains the error value