Skip to main content

SetCommitResult

Type Alias SetCommitResult 

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

Result of applying one prepared SET varbind.

Validation failures cannot be returned from this phase:

use async_snmp::{SetCommitResult, SetTestError};

let _: SetCommitResult = Err(SetTestError::GeneralFailure);

Aliased Type§

pub enum SetCommitResult {
    Ok(()),
    Err(SetCommitError),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(SetCommitError)

Contains the error value