Skip to main content

SetUndoResult

Type Alias SetUndoResult 

Source
pub type SetUndoResult = Result<(), SetUndoError>;
Available on crate feature agent only.
Expand description

Result of rolling back one attempted SET commit.

Commit failures cannot be returned from this phase:

use async_snmp::{SetCommitError, SetUndoResult};

let _: SetUndoResult = Err(SetCommitError::Failed);

Aliased Type§

pub enum SetUndoResult {
    Ok(()),
    Err(SetUndoError),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(SetUndoError)

Contains the error value