Skip to main content

SetTestResult

Type Alias SetTestResult 

Source
pub type SetTestResult = Result<Box<dyn PreparedSet>, SetTestError>;
Available on crate feature agent only.
Expand description

Result of preparing one SET varbind.

Ok carries request-owned state that the agent retains through the commit phase. Err is the protocol failure for this varbind and must not leave a reservation behind.

Aliased Type§

pub enum SetTestResult {
    Ok(Box<dyn PreparedSet>),
    Err(SetTestError),
}

Variants§

§1.0.0

Ok(Box<dyn PreparedSet>)

Contains the success value

§1.0.0

Err(SetTestError)

Contains the error value