Skip to main content

AtResult

Type Alias AtResult 

Source
pub type AtResult<'a> = Result<&'a str, AtError>;
Expand description

Result type for AT command operations Returns either a static string response or an AtError

Aliased Type§

pub enum AtResult<'a> {
    Ok(&'a str),
    Err(AtError),
}

Variants§

§1.0.0

Ok(&'a str)

Contains the success value

§1.0.0

Err(AtError)

Contains the error value